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

Sourabh Goyal updated HIVE-25440:
---------------------------------
    Summary: [Hive Metastore]: get_tables_ext() and get_tables() api in 
HMSHandler should request tables in batches  (was: get_tables_ext() and 
get_tables() api in HMSHandler should request tables in batches)

> [Hive Metastore]: get_tables_ext() and get_tables() api in HMSHandler should 
> request tables in batches
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-25440
>                 URL: https://issues.apache.org/jira/browse/HIVE-25440
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Standalone Metastore
>            Reporter: Sourabh Goyal
>            Assignee: Sourabh Goyal
>            Priority: Major
>
> If HMS is backed by Oracle DB and there are more than 1k tables then 
> get_tables and get_tables_ext request fail with the following error in 
> HMSHandler 
> java.sql.SQLSyntaxErrorException: ORA-01795: maximum number of expressions in 
> a list is 1000 at 
> oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:494)
> The fix is to request tables in batches in getTableObjectsByName() called 
> from get_tables and  get_tables_ext



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to