-
Notifications
You must be signed in to change notification settings - Fork 13.9k
[FLINK-39537][table] Apply conditional SET_SEMANTIC_TABLE trait to FROM_CHANGELOG #28025
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
base: master
Are you sure you want to change the base?
Changes from all commits
5efe5d9
2dc1bdd
3a0aed8
4cb5146
f4af640
24a253a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -1467,6 +1467,17 @@ default TableResult executeInsert( | |||||
| * TableRuntimeException} when an input row's op code is {@code NULL} or not present in the | ||||||
| * mapping; pass {@code error_handling => 'SKIP'} to silently drop those rows instead. | ||||||
| * | ||||||
| * <p>By default, the input is processed with row semantics (each row independently). To | ||||||
| * co-locate rows with the same key in the same parallel operator instance, partition the input | ||||||
| * first via {@link #partitionBy(Expression...)} and invoke the function via {@link | ||||||
| * PartitionedTable#process(String, Object...)}: | ||||||
| * | ||||||
| * <pre>{@code | ||||||
| * Table result = cdcStream | ||||||
| * .partitionBy($("id")) | ||||||
| * .process("FROM_CHANGELOG"); | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not so nice. Shall we add a method to PartitionedTable
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can also do this as a follow up and include to_changelog there.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Made a followup ticket and will open a PR after this one is merged: https://issues.apache.org/jira/browse/FLINK-39632 |
||||||
| * }</pre> | ||||||
| * | ||||||
| * <p>Optional arguments can be passed using named expressions: | ||||||
| * | ||||||
| * <pre>{@code | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.