-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial offset design ideas #12015
base: develop
Are you sure you want to change the base?
Initial offset design ideas #12015
Conversation
What if Or do we expect to be setting offsets of many columns at once often? If yes, perhaps we could have something like |
Column design looks great - We could have set mode for it:
I would keep the customization on names to use We should let it work on multiple columns at once as that is useful. |
Pull Request Description
Column.Offset takes a number n and a mode of what to do with the missing values.
Defaults to n of -1 and ..Nothing for the missing values
Can also use closest value
Or wrap the values around
Or enter a constant value
This can then be used in an expression
Table.Offset
Questions:
Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
or the Snowflake database integration, a run of the Extra Tests has been scheduled.