[
https://issues.apache.org/jira/browse/IGNITE-20104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yury Gerzhedovich updated IGNITE-20104:
---------------------------------------
Component/s: sql
> Sql. Unclear weird messages from parser
> ----------------------------------------
>
> Key: IGNITE-20104
> URL: https://issues.apache.org/jira/browse/IGNITE-20104
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Yury Gerzhedovich
> Priority: Major
> Labels: ignite-3, sql
>
> We have issue with unclear messages from parser, when user can't understand
> what is went wrong and where is error.
> As example of such errors:
> 1. {code:java}
> MERGE INTO TBL_ALL_COLUMNS_SQL(key, str) VALUES(?, ?)
> {code}
> {noformat}
> TraceId:5e59762a-2252-4ac0-bc1f-8ec53112b858 Failed to parse query:
> Encountered "" at line 1, column 35.
> Was expecting one of:
> {noformat}
> 2. {code:java}
> ALTER ZONE TEST_ZONE WITH REPLICAS = 2
> {code}
> {noformat}
> IGN-SQL-3 TraceId:5be71235-eb40-424f-b3f7-0488fd0076ca IGN-SQL-3
> TraceId:5be71235-eb40-424f-b3f7-0488fd0076ca Failed to parse query:
> Encountered "" at line 1, column 24.
> Was expecting one of:
> {noformat}
> Parser can show all alternatives related to syntax to user have ability
> understand is mistake
--
This message was sent by Atlassian Jira
(v8.20.10#820010)