You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/04/13 06:28:05 UTC

[jira] [Updated] (FLINK-22897) FlinkSQL1.12 Sink to Hive with diffrent parallelism will due to produce many small files

     [ https://issues.apache.org/jira/browse/FLINK-22897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yun Gao updated FLINK-22897:
----------------------------
    Fix Version/s: 1.16.0

> FlinkSQL1.12 Sink to Hive with diffrent parallelism will due to produce many small files
> ----------------------------------------------------------------------------------------
>
>                 Key: FLINK-22897
>                 URL: https://issues.apache.org/jira/browse/FLINK-22897
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Ecosystem
>    Affects Versions: 1.12.1
>            Reporter: zhengjiewen
>            Priority: Major
>              Labels: auto-deprioritized-critical, pull-request-available
>             Fix For: 1.15.0, 1.16.0
>
>
> I try to use flink sql in batch mode, to sink data into hive partition table, here is the sql:
>  
> {code:java}
> //代码占位符
> INSERT OVERWRTITE 【targetTable】SELECT 【field】FROM 【sourceTable】;
> {code}
>  
>  
>  
> And I found that when the parallelism of the sink operator is different from that of the operator before it, a large number of small files will be generated. But this is not the case when the parallelism is the same.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)