You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Geoffrey Jacoby (JIRA)" <ji...@apache.org> on 2017/11/29 22:30:00 UTC

[jira] [Commented] (PHOENIX-4414) Exception while using database metadata commands on tenant specific connection

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

Geoffrey Jacoby commented on PHOENIX-4414:
------------------------------------------

Change looks good, but should probably have a test (which would have caught this issue much earlier)

> Exception while using database metadata commands on tenant specific connection
> ------------------------------------------------------------------------------
>
>                 Key: PHOENIX-4414
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4414
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Mujtaba Chohan
>            Assignee: Mujtaba Chohan
>            Priority: Minor
>         Attachments: PHOENIX-4414.patch
>
>
> This is when using tenant specific connection from Sqlline.
> {noformat}
> Error: ERROR 602 (42P00): Syntax error. Missing "LPAREN" at line 2, column 746. (state=42P00,code=602)
> org.apache.phoenix.exception.PhoenixParserException: ERROR 602 (42P00): Syntax error. Missing "LPAREN" at line 2, column 746.
> 	at org.apache.phoenix.exception.PhoenixParserException.newException(PhoenixParserException.java:33)
> 	at org.apache.phoenix.parse.SQLParser.parseStatement(SQLParser.java:111)
> 	at org.apache.phoenix.jdbc.PhoenixStatement$PhoenixStatementParser.parseStatement(PhoenixStatement.java:1529)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.parseStatement(PhoenixStatement.java:1612)
> 	at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:1653)
> 	at org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.getColumns(PhoenixDatabaseMetaData.java:557)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)