Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Docs Required, Release Notes Required
Description
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:
sql-cli> create table myta SQL query parsing error: Sql query execution failed. sql-cli>
sql-cli> create table mytable(i int, j int); Unrecognized error while process SQL query. sql-cli>
"SQL query parsing error: Sql query execution failed.", "Unrecognized error while process SQL query." say nothing about what exactly is wrong.
Attachments
Issue Links
- Blocked
-
IGNITE-15247 JDBC driver for 3.0: Error handling.
- Open
- duplicates
-
IGNITE-17109 Error handling for invalid url passed to any command
- Resolved
- links to