[
https://issues.apache.org/jira/browse/FLINK-22071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17327233#comment-17327233
]
Wong Mulan commented on FLINK-22071:
------------------------------------
Could we add ParallelTableFunctionProvider interface.
{code:java}
interface ParallelTableFunctionProvider extends TableFunctionProvider,
ParallelismProvider
{code}
and set this parallelism in CommonLookupJoin class.
For example:
{code:java}
val finalParallelism = if (parallelism > 0) {
parallelism
} else {
inputTransformation.getParallelism
}
ExecNode.createOneInputTransformation(
inputTransformation,
getRelDetailedDescription,
operatorFactory,
InternalTypeInfo.of(resultRowType),
finalParallelism)
{code}
> LookupTableSource.LookupRuntimeProvider customizes parallelism
> --------------------------------------------------------------
>
> Key: FLINK-22071
> URL: https://issues.apache.org/jira/browse/FLINK-22071
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Affects Versions: 1.13.0
> Reporter: Wong Mulan
> Priority: Major
>
> Now, sink table can customize parallelism. LookupTable is not supported.
> Could we add this capability.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)