[
https://issues.apache.org/jira/browse/IGNITE-23306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vadim Pakhnushev resolved IGNITE-23306.
---------------------------------------
Resolution: Duplicate
> Cannot execute SQL from CLI non-REPL mode
> -----------------------------------------
>
> Key: IGNITE-23306
> URL: https://issues.apache.org/jira/browse/IGNITE-23306
> Project: Ignite
> Issue Type: Task
> Components: cli
> Reporter: Igor Gusev
> Assignee: Vadim Pakhnushev
> Priority: Major
> Labels: ignite-3
>
> When using CLI in non-REPL mode, it is impossible to execute SQL scripts, for
> example:
> {code:java}
> bin/ignite3 sql 'CREATE TABLE IF NOT EXISTS Person (id int primary key, city
> varchar, name varchar, age int, company varchar)'
> Unmatched arguments from index 2: 'TABLE', 'IF', 'NOT', 'EXISTS', 'Person',
> '(id', 'int', 'primary', 'key,', 'city', 'varchar,', 'name', 'varchar,',
> 'age', 'int,', 'company', 'varchar)' {code}
> The error should be more clear, or the code should work.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)