mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
dbms: modified test [#METR-2944].
This commit is contained in:
parent
ba29065d30
commit
0180cda4ef
@ -1,11 +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'
|
||||
curl -sS 'http://localhost:8123/?query=DROP+TABLE' -d 'IF EXISTS test.insert'
|
||||
curl -sS 'http://localhost:8123/?query=CREATE' -d 'TABLE test.insert (x UInt8) ENGINE = Memory'
|
||||
curl -sS 'http://localhost:8123/' -d 'INSERT INTO test.insert VALUES (1),(2)'
|
||||
curl -sS 'http://localhost:8123/?query=INSERT+INTO+test.insert+VALUES' -d '(3),(4)'
|
||||
curl -sS 'http://localhost:8123/?query=INSERT+INTO+test.insert' -d 'VALUES (5),(6)'
|
||||
curl -sS 'http://localhost:8123/?query=INSERT+INTO+test.insert+VALUES+(7)' -d ',(8)'
|
||||
curl -sS 'http://localhost:8123/?query=INSERT+INTO+test.insert+VALUES+(9),(10)' -d ' '
|
||||
curl -sS 'http://localhost:8123/' -d 'SELECT x FROM test.insert ORDER BY x'
|
||||
curl -sS 'http://localhost:8123/?query=DROP+TABLE' -d 'test.insert'
|
||||
|
Loading…
Reference in New Issue
Block a user