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

Fix autoColumnStats tests to make auto stats gather possible.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: Test
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: