Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1285

Subquery with group by and where could realize the result has one row.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Impala 2.0
    • None
    • Frontend

    Description

      An example is tpcds q44,

      group by ss_item_sk	
      --    having avg(ss_net_profit) > 0.9*(select avg(ss_net_profit) rank_col
      --                                      from store_sales	
      --                                      where ss_store_sk = 4	
      --                                      group by ss_store_sk)
      

      We should recognize that there is a single eq predicate and a single grouping column.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nong_impala_60e1 Nong Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: