[jira] [Created] (HIVE-29149) Improve TableFetcher.getTables to return Iterable to prevent possible OOM

Fri, 15 Aug 2025 22:06:07 -0700

Neeraj Khatri created HIVE-29149:
------------------------------------

             Summary: Improve TableFetcher.getTables to return Iterable<Table> 
to prevent possible OOM
                 Key: HIVE-29149
                 URL: https://issues.apache.org/jira/browse/HIVE-29149
             Project: Hive
          Issue Type: Improvement
          Components: Iceberg integration
            Reporter: Neeraj Khatri
            Assignee: Neeraj Khatri


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)

Reply via email to