JingsongLi commented on a change in pull request #9277:
[FLINK-13494][table-planner-blink] Only use env parallelism for sql job
URL: https://github.com/apache/flink/pull/9277#discussion_r309596967
##########
File path:
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/delegation/PlannerBase.scala
##########
@@ -148,6 +149,15 @@ abstract class PlannerBase(
translateToPlan(execNodes)
}
+ protected def overrideEnvParallelism(): Unit = {
+ // Use config parallelism to override env parallelism.
+ val defaultParallelism = getTableConfig.getConfiguration.getInteger(
+ ExecutionConfigOptions.TABLE_EXEC_RESOURCE_DEFAULT_PARALLELISM)
Review comment:
It sounds like a temporary thing. If we abstract configuration later, we can
unify it with the parallelism configuration in ExecutionConfig.
But I agree it is important to user to config it.
----------------------------------------------------------------
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