Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22253 General task tracking improvements for materialized views
  3. HIVE-22257

Commutativity of operations is not taken into account, e.g., '+'

    XMLWordPrintableJSON

Details

    Description

      ...as stated in subject.  Script to reproduce is attached.

      Query and materialized view are as follows:

      create materialized view view5 stored as orc as (select prod_id, cust_id, store_id, sale_date, qty, amt, descr from sales where cust_id + prod_id > 1 + 2);

      explain extended select  prod_id, cust_id  from sales where prod_id + cust_id > 1 + 2;

      Attachments

        1. expr9.sql
          0.9 kB
          Steve Carlin

        Issue Links

          Activity

            People

              vgarg Vineet Garg
              scarlin Steve Carlin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: