[
https://issues.apache.org/jira/browse/IMPALA-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Greg Rahn updated IMPALA-1758:
------------------------------
Labels: jdbc odbc usability (was: jdbc odbc sql-language usability)
> Impala ODBC Driver returns incorrect SQLState for "Table does not exist"
> ------------------------------------------------------------------------
>
> Key: IMPALA-1758
> URL: https://issues.apache.org/jira/browse/IMPALA-1758
> Project: IMPALA
> Issue Type: Bug
> Components: Clients
> Affects Versions: Impala 2.1.1
> Reporter: Viji
> Priority: Minor
> Labels: jdbc, odbc, usability
>
> ODBC specification states that an ODBC driver should return SQLState 42S02
> for a "Table does not exist" condition, but the Impala ODBC driver (version
> 2.5.23 on Windows 7) is currently returning HY000 instead. Applications check
> for specific SQLStates to make better code choices and rely on those
> SQLStates to be accurate. The HY000 SQLState only indicates "General error".
> This can be reproduced with any ODBC application that displays detailed error
> messages by simply executing:
> SELECT * FROM tablethatdoesnotexist
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]