[
https://issues.apache.org/jira/browse/CALCITE-6202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benchao Li updated CALCITE-6202:
--------------------------------
Description:
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.
was:
For example, if we run following command:
{code:shell}
./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.
> `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: Improvement
> Components: os-adapter
> Affects Versions: 1.36.0
> Reporter: Benchao Li
> Assignee: Benchao Li
> Priority: Minor
>
> 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)