[
https://issues.apache.org/jira/browse/CALCITE-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15368065#comment-15368065
]
Josh Elser commented on CALCITE-1308:
-------------------------------------
Hah, no, this is just not implemented in the Avatica client. From MetaImpl:
{code}
public MetaResultSet getPrimaryKeys(ConnectionHandle ch,
String catalog,
String schema,
String table) {
return createEmptyResultSet(MetaPrimaryKey.class);
}
{code}
Looks like we have quite a few things to implement properly in RemoteMeta.
> 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)