raminqaf commented on code in PR #28025:
URL: https://github.com/apache/flink/pull/28025#discussion_r3206815304


##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/Table.java:
##########
@@ -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");

Review Comment:
   Made a followup ticket and will open a PR after this one is merged: 
https://issues.apache.org/jira/browse/FLINK-39632



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to