Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-5369 Annotate hive operator tree with statistics from metastore
  3. HIVE-7491

Stats annotation fails to evaluate constant expressions in filter operator

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • Query Processor, Statistics
    • None

    Description

      HIVE-5369 added stats annotation to operator plan. The filter operator evaluates all expression node descriptors and applies rules. It always returns 0 for constant expressions like 'select * from table where true' or 'select * from table where true=true' etc.

      Attachments

        1. HIVE-7491.1.patch
          32 kB
          Prasanth Jayachandran
        2. HIVE-7491.2.patch
          120 kB
          Prasanth Jayachandran

        Issue Links

          Activity

            People

              prasanth_j Prasanth Jayachandran
              prasanth_j Prasanth Jayachandran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: