[
https://issues.apache.org/jira/browse/CALCITE-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278155#comment-15278155
]
Josh Elser commented on CALCITE-1230:
-------------------------------------
+1 LGTM -- somewhat related, is there a canonical location for the standards
that are freely available? I feel like I always struggle to find a current
standards doc (usually running into a pay-wall at iso.org).
> Add SQLSTATE reference data as enum SqlState
> --------------------------------------------
>
> Key: CALCITE-1230
> URL: https://issues.apache.org/jira/browse/CALCITE-1230
> Project: Calcite
> Issue Type: Bug
> Components: avatica
> Reporter: Julian Hyde
> Assignee: Julian Hyde
> Fix For: avatica-1.8.0
>
>
> The SQL standard defines error codes for the standard things that can go
> wrong while processing SQL. If client applications are written to expect
> those error codes they can make their behavior uniform across databases.
> Avatica can help by defining the standard codes in a new enum
> org.apache.calcite.avatica.SqlState.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)