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

Wencong Liu commented on FLINK-30556:
-------------------------------------

Thanks [~luoyuxia]. As the ContinuousHiveSplitEnumerator can solve this 
problem, I think it is enough. But I will try the implementation of iterator. 
When the POC is completed, I can associate the PR with this issue. More 
discussion can be proposed later. WDYT?

> Improve the logic for enumerating splits for Hive source to avoid potential 
> OOM
> -------------------------------------------------------------------------------
>
>                 Key: FLINK-30556
>                 URL: https://issues.apache.org/jira/browse/FLINK-30556
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / Hive
>    Affects Versions: 1.16.0
>            Reporter: luoyuxia
>            Priority: Major
>
> Currently, when read hive source in batch mode, it'll first enumerate all 
> split for the hive table. But when the table is large, the split will be too 
> many which may well cause OOM. Some commuity users has also reported this 
> problem. 
> We need to optimize the logic for enumerating splits for hive table source to 
> avoid potential OOM.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to