Jesse Shaffer created PHOENIX-5513: -------------------------------------- Summary: Select column label from subselect returns original column name in result Key: PHOENIX-5513 URL: https://issues.apache.org/jira/browse/PHOENIX-5513 Project: Phoenix Issue Type: Bug Affects Versions: 5.0.0 Environment: OS: Windows 10
JDBC Driver: Phoenix Query Server Client 5.0.0 HBase on HDP 3.0.0 Reporter: Jesse Shaffer When executing: {code:java} select col_1, col_2 from (select firstName as col_1, lastName as col_2 from someTable) {code} I would expect: ||col_1||col_2|| |John|Doe| Instead I get: ||firstName||lastName|| |John|Doe| Workaround: {code:java} select col_1 as col_1, col_2 as col_2 from (select firstName as col_1, lastName as col_2 from someTable){code} -- This message was sent by Atlassian Jira (v8.3.4#803005)