-
Notifications
You must be signed in to change notification settings - Fork 466
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
IMPORT INTO with default expressions and computed columns #8764
Conversation
@pbardea - friendly ping to PTAL early next week :) I'd like to address reviews and merge this PR this upcoming week! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay here!
This generally LGTM, with a small comment about the callout and a nit. Thanks!
v20.2/import-into.md
Outdated
- `transaction_timestamp()` | ||
|
||
- `random()` | ||
- `gen_random_uuid` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: parens here to match the rest?
v20.2/import-into.md
Outdated
- `unique_rowid()` | ||
|
||
{{site.data.alerts.callout_info}} | ||
Non-targeted columns with constant default expressions are not required to be nullable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that we define what "targeted" columns are in the docs? Do we have a way of referring to the columns that are specified in an IMPORT INTO command?
Thinking about this more, do we usually have callouts for things that are not required? I think this behaviour would be the "expected" case, rather than an exceptional one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TFTR!
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @mwang1026 and @pbardea)
v20.2/import-into.md, line 98 at r2 (raw file):
Previously, pbardea (Paul Bardea) wrote…
nit: parens here to match the rest?
Done.
v20.2/import-into.md, line 102 at r2 (raw file):
Previously, pbardea (Paul Bardea) wrote…
I'm not sure that we define what "targeted" columns are in the docs? Do we have a way of referring to the columns that are specified in an IMPORT INTO command?
Thinking about this more, do we usually have callouts for things that are not required? I think this behaviour would be the "expected" case, rather than an exceptional one.
Yeah, that's a good point. I don't think we need the callout. Removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @mwang1026, @pbardea, and @taroface)
Closes #8585.
Closes #8291.
Closes #8105.
Closes #8289.
Closes #8106.
Closes #7863.
Closes #8419.