hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15181) buildQueryWithINClause didn't properly handle multiples of ConfVars.METASTORE_DIRECT_SQL_MAX_ELEMENTS_IN_CLAUSE
Date Tue, 22 Nov 2016 21:17:58 GMT

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

Wei Zheng commented on HIVE-15181:
----------------------------------

Thanks Eugene for the comment, I will handle the second part which is to modify TxnUtils.needNewQuery()
in a separate ticket HIVE-15267

> buildQueryWithINClause didn't properly handle multiples of ConfVars.METASTORE_DIRECT_SQL_MAX_ELEMENTS_IN_CLAUSE
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-15181
>                 URL: https://issues.apache.org/jira/browse/HIVE-15181
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive, Transactions
>    Affects Versions: 1.2.1, 2.1.0
>            Reporter: Wei Zheng
>            Assignee: Wei Zheng
>            Priority: Critical
>         Attachments: HIVE-15181.1.patch, HIVE-15181.2.patch
>
>
> As there is a bug, we can still work around the issue by using the settings below (making
sure the second setting is always at least 1000 times of the first setting):
> set hive.direct.sql.max.query.length=1;
> set hive.direct.sql.max.elements.in.clause=1000;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message