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:56:00 UTC

[jira] [Created] (IGNITE-19038) sql command does not enter repl

Aleksandr created IGNITE-19038:
----------------------------------

             Summary: 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



{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. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)