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

using column label as column name

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: avatica-1.13.0
    • Fix Version/s: next
    • Component/s: avatica
    • Labels:
      None

      Description

      https://github.com/apache/calcite-avatica/blob/master/core/src/main/java/org/apache/calcite/avatica/ColumnMetaData.java#L122

      according to the above line, column label is used only when column name is missing, this behavior makes the the go driver lost column alias name in sql expression. I'd hope swap the column name and label in the code, can we?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              masterclock masterclock
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: