You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "N Campbell (JIRA)" <ji...@apache.org> on 2017/01/25 02:29:27 UTC

[jira] [Created] (PHOENIX-3628) JDBC driver error message returned for PreparedStatement versus Statement is less detailed

N Campbell created PHOENIX-3628:
-----------------------------------

             Summary: JDBC driver error message returned for PreparedStatement versus Statement is less detailed
                 Key: PHOENIX-3628
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3628
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.7.0
         Environment: Hortonworks 2.5.3
            Reporter: N Campbell


phoenix-4.7.0.2.5.3.0-37-client

The exception messages returned when using a PreparedStatement are less detailed than when the Statement interface is used.

Statement.
Error -1 (00000) : Error while executing SQL "select count(*) from TARRSINT": Remote driver error: RuntimeException: org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined. tableName=TARRSINT -> TableNotFoundException: ERROR 1012 (42M03): Table undefined. tableName=TARRSINT

PreparedStatement
Error -1 (00000) : while preparing SQL: select count(*) from TARRSINT




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)