Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-4444

[beeswax] test_analyze_table_and_read_statistics doesn't test correctly with Hive 2

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.10.0
    • Fix Version/s: 3.11.0
    • Component/s: con.hive
    • Labels:
      None

      Description

      The test_analyze_table_and_read_statistics test in the beeswax suite expects the COLUMN_STATS_ACCURATE field to be generated when statistics are generated for a table for which no statistics are available. This is broken for Hive 2, because in https://issues.apache.org/jira/browse/HIVE-12661 behavior was changed to not return COLUMN_STATS_ACCURATE if there were no columns. To make this test more correct, it has been changed to check that the number of rows are as expected both before and after rows have been inserted into the table.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                poeppt Thomas Poepping
                Reporter:
                poeppt Thomas Poepping
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: