[ 
https://issues.apache.org/jira/browse/IGNITE-20494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vadim Pakhnushev updated IGNITE-20494:
--------------------------------------
    Fix Version/s:     (was: 3.0.0-beta2)
     Ignite Flags:   (was: Docs Required,Release Notes Required)
      Description: 
{code:bash}
[node]> sql -f=foo
Unknown error
File with command not found
[node]> sql    <---- here type exactly 3 letters and hit enter
Unknown error
File with command not found  {code}
I would expect to enter the repl, but I get the same error message that I've 
got before.

This is exact same issue of the IGNITE-19038

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


> sql command does not enter repl
> -------------------------------
>
>                 Key: IGNITE-20494
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20494
>             Project: Ignite
>          Issue Type: Bug
>          Components: cli
>            Reporter: Vadim Pakhnushev
>            Assignee: Vadim Pakhnushev
>            Priority: Major
>              Labels: ignite-3
>
> {code:bash}
> [node]> sql -f=foo
> Unknown error
> File with command not found
> [node]> sql    <---- here type exactly 3 letters and hit enter
> Unknown error
> File with command not found  {code}
> I would expect to enter the repl, but I get the same error message that I've 
> got before.
> This is exact same issue of the IGNITE-19038



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

Reply via email to