wuchong commented on a change in pull request #8966:
[FLINK-13074][table-planner-blink] Add PartitionableTableSink bridge logic to
flink&blink …
URL: https://github.com/apache/flink/pull/8966#discussion_r305340932
##########
File path:
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/StreamPlanner.scala
##########
@@ -355,6 +373,26 @@ class StreamPlanner(
sink.consumeDataStream(result)
}
+ /**
+ * Key by the partition fields if the sink is a [[PartitionableTableSink]].
+ * @param sink the table sink
+ * @param dataStream the data stream
+ * @tparam R the data stream record type
+ * @return a data stream that maybe keyed by.
+ */
+ private def mayKeyByPartitionFields[R](
Review comment:
What about `applyShuffleByPartitionFieldsIfNeeded` ?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services