mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
dbms: added tests for prev. revision [#METR-12901].
This commit is contained in:
parent
2706a28d3b
commit
b32586f851
@ -0,0 +1,2 @@
|
|||||||
|
1 0
|
||||||
|
2 0
|
6
dbms/tests/queries/0_stateless/00070_insert_fewer_columns_http.sh
Executable file
6
dbms/tests/queries/0_stateless/00070_insert_fewer_columns_http.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
echo 'DROP TABLE IF EXISTS test.insert_fewer_columns' | curl -sSg 'http://localhost:8123' -d @-
|
||||||
|
echo 'CREATE TABLE test.insert_fewer_columns (a UInt8, b UInt8) ENGINE = Memory' | curl -sSg 'http://localhost:8123' -d @-
|
||||||
|
echo 'INSERT INTO test.insert_fewer_columns (a) VALUES (1), (2)' | curl -sSg 'http://localhost:8123' -d @-
|
||||||
|
echo 'SELECT * FROM test.insert_fewer_columns' | curl -sSg 'http://localhost:8123' -d @-
|
@ -0,0 +1,2 @@
|
|||||||
|
1 0
|
||||||
|
2 0
|
4
dbms/tests/queries/0_stateless/00071_insert_fewer_columns.sql
Executable file
4
dbms/tests/queries/0_stateless/00071_insert_fewer_columns.sql
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
DROP TABLE IF EXISTS test.insert_fewer_columns;
|
||||||
|
CREATE TABLE test.insert_fewer_columns (a UInt8, b UInt8) ENGINE = Memory;
|
||||||
|
INSERT INTO test.insert_fewer_columns (a) VALUES (1), (2);
|
||||||
|
SELECT * FROM test.insert_fewer_columns;
|
Loading…
Reference in New Issue
Block a user