[
https://issues.apache.org/jira/browse/IGNITE-12381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18135704#comment-18135704
]
Ignite TC Bot commented on IGNITE-12381:
----------------------------------------
"SQL: Fixed query errors to report missing tables, columns, indexes, and
schemas instead of generic parsing errors."
The Release Note field has been filled with the wording above. Please review it
and edit it if needed.
> QueryParser: propagate H2 ErrorCode to IgniteSQLException
> ---------------------------------------------------------
>
> Key: IGNITE-12381
> URL: https://issues.apache.org/jira/browse/IGNITE-12381
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Affects Versions: 2.7.6, 2.18
> Reporter: Alexandr Shapkin
> Assignee: Zhang Zhenhao
> Priority: Major
> Labels: newbie
> Fix For: 2.20
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> QueryParser#parseH2 method generalizes all h2 error codes as
> IgniteQueryErrorCode.PARSING
> Whereas the actual error code could be more specific, like
> [TABLE_OR_VIEW_NOT_FOUND_1|https://www.h2database.com/javadoc/org/h2/api/ErrorCode.html#c42102]
> = 42102
> Let's try to convert those codes into the appropriate IgniteQueryErrorCode
> values as well.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)