Skip to site navigation (Press enter)

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

Neeraj Khatri (Jira) 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)
  • Previous message
  • View by thread
  • View by date
  • Next message

Reply via email to

The Mail Archive
  • The Mail Archive home
  • issues - all messages
  • issues - about the list
  • Expand
  • Previous message
  • Next message
  • The Mail Archive home
  • Add your mailing list
  • FAQ
  • Support
  • Privacy
  • [email protected]