Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6920

PhoenixResultSetMetaData doesn't distinguish between label and column_name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.2.0, 5.1.4
    • core
    • None
    • Phoenix now correctly returns the unialiased column name in ResultSetMetadata.getColumnName().

    Description

      While debugging PHOENIX-6917, I found that we receive the aliased column name in both the column_name and label fields of the column metadata in protobuf.

      This happened with PQS head and Phoenix 5.2.0-SNAPSHOT.
      Apparently, some older version used to work correctly (and returned the unaliased name in column_name)

      We need to check if this is a Phoenix or Avatica regression first, then fix it in the appropriate project.

      Attachments

        Issue Links

          Activity

            People

              ameszaros Aron Attila Meszaros
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: