Skip to content

multi line sql statements can not be parsed by web ui #83

@vanderh0ff

Description

@vanderh0ff

ArcadeDB Version: ArcadeDB Server v21.9.2-SNAPSHOT (build 1963901/1632261478984/main)

JDK Version: openjdk 11.0.12 2021-07-20 OpenJDK Runtime Environment Temurin-11.0.12+7 (build 11.0.12+7) OpenJDK 64-Bit Server VM Temurin-11.0.12+7 (build 11.0.12+7, mixed mode)

OS: from docker image Linux 9d77ff622b47 3.10.0-1160.31.1.el7.x86_64 #1 SMP Wed May 26 20:18:08 UTC 2021 x86_64 Linux

Expected behavior

sql statements that have multiple lines in the browser console should execute

Actual behavior

SQL statements containing a new line will error out from the browser with a parsing exception
Error { "error" : "Internal error", "detail":"com.arcadedb.exception.CommandSQLParsingException: create Edge type a; create Edge type b;", "exception": "com.arcadedb.exception.CommandSQLParsingException"}

Steps to reproduce

create Edge type a;
create Edge type b;

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions