JingsongLi commented on a change in pull request #13789:
URL: https://github.com/apache/flink/pull/13789#discussion_r513152137
##########
File path:
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/plan/nodes/common/CommonPhysicalSink.scala
##########
@@ -79,6 +84,7 @@ class CommonPhysicalSink (
val enforcer = new SinkNotNullEnforcer(notNullEnforcer,
notNullFieldIndices, fieldNames)
runtimeProvider match {
+ case _: DataStreamSinkProvider with ParallelismProvider => throw new
RuntimeException("`DataStreamSinkProvider` is not allowed to work with
`ParallelismProvider`, please see document of `ParallelismProvider`")
Review comment:
`TableException`
----------------------------------------------------------------
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]