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

Fix autoColumnStats tests to make auto stats gather possible.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 4.0.0
    • None
    • Test
    • None

    Description

      Before https://issues.apache.org/jira/browse/HIVE-20915 , the optimizer sort dynamic partitions is turn off for these tests. So these test can have group by in the query plan which can trigger compute statistics. After the jira, the optimizer is enabled, because of a a known bug with dynamic sorted partition optimization (HIVE-16100), the computer statistics does not happen. Fix the tests to disable the optimizer to test the same code path as before.

      Attachments

        1. HIVE-21019.1.patch
          29 kB
          Yongzhi Chen

        Issue Links

          Activity

            People

              ychena Yongzhi Chen
              ychena Yongzhi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: