[jira] [Assigned] (IGNITE-17090) Map sql errors to messages that user see

2022-08-09 Thread Aleksandr (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-17090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aleksandr reassigned IGNITE-17090:
--

Assignee: Aleksandr  (was: Mikhail Pochatkin)

> Map sql errors to messages that user see
> 
>
> Key: IGNITE-17090
> URL: https://issues.apache.org/jira/browse/IGNITE-17090
> Project: Ignite
>  Issue Type: Task
>Reporter: Aleksandr
>Assignee: Aleksandr
>Priority: Major
>  Labels: ignite-3, ignite-3-cli-tool
>
> There is a number of errors that user can get during sql command execution. 
> Map all types of errors and map them to exit error codes and user messages. 
> Also, a user has to understand what is wrong with the query. Now it displays 
> jusn an abstract message.
>  
> How it works now:
> {code:java}
> sql-cli> create table myta
> SQL query parsing error: Sql query execution failed.
> sql-cli> {code}
> {code:java}
> sql-cli> create table mytable(i int, j int);
> Unrecognized error while process SQL query.
> sql-cli> {code}
> "SQL query parsing error: Sql query execution failed.", "Unrecognized error 
> while process SQL query."  say nothing about {*}what exactly is wrong{*}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (IGNITE-17090) Map sql errors to messages that user see

2022-06-07 Thread Mikhail Pochatkin (Jira)


 [ 
https://issues.apache.org/jira/browse/IGNITE-17090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mikhail Pochatkin reassigned IGNITE-17090:
--

Assignee: Mikhail Pochatkin

> Map sql errors to messages that user see
> 
>
> Key: IGNITE-17090
> URL: https://issues.apache.org/jira/browse/IGNITE-17090
> Project: Ignite
>  Issue Type: Task
>Reporter: Aleksandr
>Assignee: Mikhail Pochatkin
>Priority: Major
>  Labels: ignite-3, ignite-3-cli-tool
>
> There is a number of errors that user can get during sql command execution. 
> Map all types of errors and map them to exit error codes and user messages. 
> Also, a user has to understand what is wrong with the query. Now it displays 
> jusn an abstract message.
>  
> How it works now:
> {code:java}
> sql-cli> create table myta
> SQL query parsing error: Sql query execution failed.
> sql-cli> {code}
> {code:java}
> sql-cli> create table mytable(i int, j int);
> Unrecognized error while process SQL query.
> sql-cli> {code}
> "SQL query parsing error: Sql query execution failed.", "Unrecognized error 
> while process SQL query."  say nothing about {*}what exactly is wrong{*}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)