[ 
https://issues.apache.org/jira/browse/FLINK-16903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073371#comment-17073371
 ] 

Jingsong Lee edited comment on FLINK-16903 at 4/2/20, 4:36 AM:
---------------------------------------------------------------

Hi Danny, I thought about this way, but I also need a variable to turn on the 
parallelism inference of connector.

So the interface for end user can be:
 # Two interfaces: table hint for specify parallelism(/*+ PARALLELISM(3) */ ) + 
SupportsCustomParallelism(inference with table properties).
 # One interface: SupportsCustomParallelism(With table properties, including 
inference and parallelism specify)

I think we can choose option 2 to provide a unify interface.


was (Author: lzljs3620320):
Hi Danny, I thought about this way, but I also need a variable to turn on the 
parallelism inference of connector.

So the interface for end user can be:
 # Two interfaces: table hint for specify parallelism(/*+ PARALLELISM(3) */ ) + 
SupportsCustomParallelism(inference with table properties).
 # One interface: SupportsCustomParallelism(With table properties, including 
inference and parallelism specify)

> Add sink.parallelism for file system factory
> --------------------------------------------
>
>                 Key: FLINK-16903
>                 URL: https://issues.apache.org/jira/browse/FLINK-16903
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Runtime
>            Reporter: Jingsong Lee
>            Priority: Major
>             Fix For: 1.11.0
>
>
> A single task may be writing multiple files at the same time. If the 
> parallelism is too high, it may lead to a large number of small files. If the 
> parallelism is too small, the performance is not enough. This requires that 
> the user can specify parallelism.
>  * Default is the same as upstream transformation
>  * Users can specify parallelism too.
> |‘connector.sink.parallelism’ = ...|



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to