[
https://issues.apache.org/jira/browse/HIVE-29149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitriy Fingerman closed HIVE-29149.
------------------------------------
> Improve TableFetcher.getTables to return Iterable to prevent possible OOM
> -------------------------------------------------------------------------
>
> Key: HIVE-29149
> URL: https://issues.apache.org/jira/browse/HIVE-29149
> Project: Hive
> Issue Type: Improvement
> Components: Iceberg integration
> Affects Versions: 4.2.0
> Reporter: Neeraj Khatri
> Assignee: Neeraj Khatri
> Priority: Major
> Labels: pull-request-available
>
> TableFetcher.getTables is currently designed to return a list of HMS API
> Table Objects but this can possibly lead to OOM when there are large number
> of tables. In that case, it would be better to return it as an
> Iterable<Table> that can be lazily fetched instead of causing a pressure on
> heap.
>
> CC:- [~dkuzmenko]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)