You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Aleksandr (Jira)" <ji...@apache.org> on 2023/03/15 09:59:00 UTC
[jira] [Updated] (IGNITE-19038) sql command does not enter repl
[ https://issues.apache.org/jira/browse/IGNITE-19038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksandr updated IGNITE-19038:
-------------------------------
Description:
{code:bash}
[defaultNode]> sql "create table test(i int primary key)"
SQL query execution error
Exception while executing query [query="create table test(i int primary key)"]. Error message:IGN-SQL-3 TraceId:9f1d43d1-5f6d-4319-94a1-2225e931a80d IGN-SQL-3 TraceId:9f1d43d1-5f6d-4319-94a1-2225e931a80d Failed to parse query: Non-query expression encountered in illegal context <--- Why I get this error?
[defaultNode]> SQL <---- here type exactly 3 letters and hit enter
SQL query execution error
Exception while executing query [query="create table test(i int primary key)"]. Error message:IGN-SQL-3 TraceId:801a965d-3adf-443c-8028-d080fa894fb8 IGN-SQL-3 TraceId:801a965d-3adf-443c-8028-d080fa894fb8 Failed to parse query: Non-query expression encountered in illegal context
{code}
I would expect to enter the repl, but I get the same error message that I've got before.
Also, the first error I've got seems strange, exactly the same query works in the repl.
Note: if I type "sql " with the space after -- it enters the repl.
was:
{code:bash}
[defaultNode]> sql "create table test(i int primary key)"
SQL query execution error
Exception while executing query [query="create table test(i int primary key)"]. Error message:IGN-SQL-3 TraceId:9f1d43d1-5f6d-4319-94a1-2225e931a80d IGN-SQL-3 TraceId:9f1d43d1-5f6d-4319-94a1-2225e931a80d Failed to parse query: Non-query expression encountered in illegal context <--- this is ok, I've made a mistake
[defaultNode]> SQL <---- here type exactly 3 letters and hit enter
SQL query execution error
Exception while executing query [query="create table test(i int primary key)"]. Error message:IGN-SQL-3 TraceId:801a965d-3adf-443c-8028-d080fa894fb8 IGN-SQL-3 TraceId:801a965d-3adf-443c-8028-d080fa894fb8 Failed to parse query: Non-query expression encountered in illegal context
{code}
I would expect to enter the repl, but I get the same error message that I've got before.
Note: if I type "sql " with the space after -- it enters the repl.
> sql command does not enter repl
> -------------------------------
>
> Key: IGNITE-19038
> URL: https://issues.apache.org/jira/browse/IGNITE-19038
> Project: Ignite
> Issue Type: Bug
> Components: cli
> Reporter: Aleksandr
> Priority: Major
> Labels: ignite-3
>
> {code:bash}
> [defaultNode]> sql "create table test(i int primary key)"
> SQL query execution error
> Exception while executing query [query="create table test(i int primary key)"]. Error message:IGN-SQL-3 TraceId:9f1d43d1-5f6d-4319-94a1-2225e931a80d IGN-SQL-3 TraceId:9f1d43d1-5f6d-4319-94a1-2225e931a80d Failed to parse query: Non-query expression encountered in illegal context <--- Why I get this error?
> [defaultNode]> SQL <---- here type exactly 3 letters and hit enter
> SQL query execution error
> Exception while executing query [query="create table test(i int primary key)"]. Error message:IGN-SQL-3 TraceId:801a965d-3adf-443c-8028-d080fa894fb8 IGN-SQL-3 TraceId:801a965d-3adf-443c-8028-d080fa894fb8 Failed to parse query: Non-query expression encountered in illegal context
> {code}
> I would expect to enter the repl, but I get the same error message that I've got before.
> Also, the first error I've got seems strange, exactly the same query works in the repl.
> Note: if I type "sql " with the space after -- it enters the repl.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)