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

impala-shell converting multi-line query including literals to lower case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 0.7
    • Impala 1.0
    • Clients

    Description

      When I run the query -
      select pq_network_fact.day_key,
      sum(pq_network_fact.spend)
      from pq_network_fact join impala_account_dim on pq_network_fact.advertiser_account_key = impala_account_dim.account_key join impala_date_dim on pq_network_fact.day_key = impala_date_dim.day_key
      where
      impala_date_dim.day_key = 1554 and
      impala_account_dim.account_name="King.com"
      group by pq_network_fact.day_key;

      Impala-shell is converting it to -

      Query: select pq_network_fact.day_key,
      sum(pq_network_fact.spend)
      from pq_network_fact join impala_account_dim on pq_network_fact.advertiser_account_key = impala_account_dim.account_key join impala_date_dim on pq_network_fact.day_key = impala_date_dim.day_key
      where
      impala_date_dim.day_key = 1554 and
      impala_account_dim.account_name="king.com" group by pq_network_fact.day_key

      This seems to be happening only when there are newlines in the query.

      Attachments

        1. fix_diff
          0.4 kB
          jaideep dhok

        Activity

          People

            ishaan Ishaan Joshi
            jdhok_impala_a218 jaideep dhok
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: