[
https://issues.apache.org/jira/browse/CALCITE-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367057#comment-15367057
]
Julian Hyde commented on CALCITE-1308:
--------------------------------------
It sounds as if sqlline is doing the right thing given the information it is
getting, and Avatica is doing the right thing. It sounds as if this is a bug in
Phoenix's implementation of Avatica's SPI. What do you think, [~jamestaylor]?
> Primary Keys for Phoenix table not recognized in sqlline.
> ---------------------------------------------------------
>
> Key: CALCITE-1308
> URL: https://issues.apache.org/jira/browse/CALCITE-1308
> Project: Calcite
> Issue Type: Bug
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Minor
> Fix For: avatica-1.9.0
>
>
> Noticed in CALCITE-1291: sqlline normally highlights the column(s) which are
> (part of the) primary key. Running a debugger over it quickly, showed that no
> keys were returned over the DatabaseMetaData.getPrimaryKeys call.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)