You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2023/09/14 06:41:00 UTC

[jira] [Commented] (PHOENIX-6920) PhoenixResultSetMetaData doesn't distinguish between label and column_name

    [ https://issues.apache.org/jira/browse/PHOENIX-6920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765020#comment-17765020 ] 

Istvan Toth commented on PHOENIX-6920:
--------------------------------------

Committed to master and 5.1.
Thanks for the patch [~ameszaros] .

> PhoenixResultSetMetaData doesn't distinguish between label and column_name
> --------------------------------------------------------------------------
>
>                 Key: PHOENIX-6920
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6920
>             Project: Phoenix
>          Issue Type: Bug
>          Components: queryserver
>            Reporter: Istvan Toth
>            Assignee: Aron Attila Meszaros
>            Priority: Major
>             Fix For: 5.2.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)