Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2118

RelToSqlConverter should only generate "*" if field names match

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.15.0
    • 1.16.0
    • jdbc-adapter
    • None

    Description

      This RelNode tree:

      LogicalProject(x=[$0])
        LogicalTableScan(table=[[t]])
      

      is converted to:

      SELECT *
      FROM `t`
      

      when it should be:

      SELECT `a` AS `x`
      FROM `t`
      

      See dev list thread.

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            AustinHaas Austin Haas
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: