Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4989

Impala - Select * fails with reserved words in query

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 10.0, 9.3.2
    • 9.1.3
    • JDBC Connector
    • None

    Description

      Impala translator can handle reserved words in queries by quoting but doing select * the query fails in an unhelpful way. Example:
      --succeeds
      select calendar_type,
      start_date,
      calendar_year,
      quarter_structure,
      date_key,
      'month',
      week,
      day_of_month
      from warehouse.dim_advertiser_calendar;

      fails due to reserved word "month" as a column in the virtual table:
      select * from warehouse.dim_advertiser_calendar;

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            dkrapohl@hotmail.com Donald Krapohl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: