Maksim Zhuravkov created IGNITE-24179: -----------------------------------------
Summary: CLI. SQL Repl reports any SQL exception as Unknown error Key: IGNITE-24179 URL: https://issues.apache.org/jira/browse/IGNITE-24179 Project: Ignite Issue Type: Bug Components: cli Reporter: Maksim Zhuravkov Every SQL exception is reported as Unknown error: {noformat} [node1]> sql sql-cli> SELECT 1/0; Unknown error Division by zero sql-cli> SELECT * FROM meh; Unknown error Failed to validate query. From line 1, column 15 to line 1, column 17: Object 'MEH' not found sql-cli> {noformat} There is SqlExceptionHandler in CLI module that handles SQLExceptions but SqlReplCommand does not add it to its pipeline. When I add it, I got this output instead: {noformat} sql-cli> SELECT 1/0; SQL query execution error Division by zero sql-cli> SELECT * FROM meh; SQL query execution error Failed to validate query. From line 1, column 15 to line 1, column 17: Object 'MEH' not found sql-cli> {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)