mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
dbms: added test [#METR-2944].
This commit is contained in:
parent
580b77c152
commit
09010e81f1
@ -0,0 +1,10 @@
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
11
dbms/tests/queries/0_stateless/00177_inserts_through_http_parts.sh
Executable file
11
dbms/tests/queries/0_stateless/00177_inserts_through_http_parts.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
curl 'http://localhost:8123/?query=DROP+TABLE' -d 'IF EXISTS test.insert'
|
||||
curl 'http://localhost:8123/?query=CREATE' -d 'TABLE test.insert (x UInt8) ENGINE = Memory'
|
||||
curl 'http://localhost:8123/' -d 'INSERT INTO test.insert VALUES (1),(2)'
|
||||
curl 'http://localhost:8123/?query=INSERT+INTO+test.insert+VALUES' -d '(3),(4)'
|
||||
curl 'http://localhost:8123/?query=INSERT+INTO+test.insert' -d 'VALUES (5),(6)'
|
||||
curl 'http://localhost:8123/?query=INSERT+INTO+test.insert+VALUES+(7)' -d ',(8)'
|
||||
curl 'http://localhost:8123/?query=INSERT+INTO+test.insert+VALUES+(9),(10)' -d ' '
|
||||
curl 'http://localhost:8123/' -d 'SELECT x FROM test.insert ORDER BY x'
|
||||
curl 'http://localhost:8123/?query=DROP+TABLE' -d 'test.insert'
|
Loading…
Reference in New Issue
Block a user