You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2024/05/06 22:20:06 UTC
[jira] [Closed] (CALCITE-6202) `sqlsh` does not print error message when query fails
[ https://issues.apache.org/jira/browse/CALCITE-6202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Nuyanzin closed CALCITE-6202.
------------------------------------
Resolved in release 1.37.0 (2024-05-06)
> `sqlsh` does not print error message when query fails
> -----------------------------------------------------
>
> Key: CALCITE-6202
> URL: https://issues.apache.org/jira/browse/CALCITE-6202
> Project: Calcite
> Issue Type: Bug
> Components: os-adapter
> Affects Versions: 1.36.0
> Reporter: Benchao Li
> Assignee: Benchao Li
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.37.0
>
>
> For example, if we run following command:
> {code:bash}
> $ ./sqlsh "invalid SQL"
> {code}
> The query is obviously invalid, however it won't give any error messages. My proposal would be print the exception stack in stderr, it would be more easy to figure out what was wrong in the query.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)