Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15181

buildQueryWithINClause didn't properly handle multiples of ConfVars.METASTORE_DIRECT_SQL_MAX_ELEMENTS_IN_CLAUSE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.2.1, 2.1.0
    • 1.3.0, 2.1.1, 2.2.0
    • Hive, Transactions
    • None

    Description

      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;

      Attachments

        1. HIVE-15181.4.patch
          6 kB
          Wei Zheng
        2. HIVE-15181.3.patch
          7 kB
          Wei Zheng
        3. HIVE-15181.2.patch
          5 kB
          Wei Zheng
        4. HIVE-15181.1.patch
          4 kB
          Wei Zheng

        Issue Links

          Activity

            People

              wzheng Wei Zheng
              wzheng Wei Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: