mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
feat: add explain ast insert queries test
This commit is contained in:
parent
c702d2581e
commit
5ef1830f55
@ -8,3 +8,7 @@ Syntax error
|
||||
7
|
||||
8
|
||||
9
|
||||
InsertQuery (children 1)
|
||||
Identifier TEST2
|
||||
InsertQuery (children 1)
|
||||
Identifier TEST1
|
||||
|
@ -51,6 +51,13 @@ INSERT INTO TEST2 VALUES
|
||||
SELECT * FROM TEST1 ORDER BY value;
|
||||
SELECT * FROM TEST2 ORDER BY value;
|
||||
DROP TABLE TEST1; DROP TABLE TEST2;
|
||||
|
||||
EXPLAIN AST INSERT INTO TEST2 FORMAT CSV
|
||||
1
|
||||
2
|
||||
|
||||
EXPLAIN AST INSERT INTO TEST1 VALUES (101),(102);
|
||||
|
||||
EOF
|
||||
|
||||
$CLICKHOUSE_CLIENT -m < "$SQL_FILE_NAME"
|
||||
|
Loading…
Reference in New Issue
Block a user