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

TABLESAMBLE(BUCKET xxx) sometimes doesn't trigger input pruning as regression of HIVE-1538

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None
    • None

    Description

      Example:

      select count(1) from <bucket_table> TABLESAMPLE(BUCKET xxx out of yyy) where <partition_column> = 'xxx'

      will not trigger input pruning.

      The reason is that we assume sample filtering operator only happens as the second filter after table scan, which is broken by HIVE-1538, even if the feature doesn't turn on.

      Attachments

        1. HIVE-2451.1.patch
          0.7 kB
          Siying Dong
        2. HIVE-2451.2.patch
          97 kB
          Siying Dong
        3. HIVE-2451.3.patch
          137 kB
          Siying Dong

        Activity

          People

            sdong Siying Dong
            sdong Siying Dong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: