JingsongLi commented on a change in pull request #11853: URL: https://github.com/apache/flink/pull/11853#discussion_r415193623
########## File path: flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/rules/physical/stream/StreamExecSinkRule.scala ########## @@ -53,15 +53,20 @@ class StreamExecSinkRule extends ConverterRule( val dynamicPartIndices = dynamicPartFields.map(partitionSink.getTableSchema.getFieldNames.indexOf(_)) - if (partitionSink.configurePartitionGrouping(false)) { - throw new TableException("Partition grouping in stream mode is not supported yet!") - } + val shuffleEnable = sinkNode + .catalogTable + .getProperties + .get(FileSystemTableFactory.SINK_SHUFFLE_BY_PARTITION.key()) - if (!partitionSink.isInstanceOf[DataStreamTableSink[_]]) { Review comment: `DataStreamTableSink` is not a user interface, it is a internal util class. ---------------------------------------------------------------- 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: us...@infra.apache.org