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

Impala - Select * fails with reserved words in query

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 9.1.3
    • Fix Version/s: 10.0, 9.3.2
    • Component/s: JDBC Connector
    • Labels:
      None
    • Environment:

      Ubuntu linux 6+ x64

      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;

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shawkins Steven Hawkins
                Reporter:
                don.krapohl Don Krapohl
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: