mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added test [#METR-21817].
This commit is contained in:
parent
df538babc8
commit
13d6731fad
2
dbms/tests/queries/0_stateless/00335_bom.reference
Normal file
2
dbms/tests/queries/0_stateless/00335_bom.reference
Normal file
@ -0,0 +1,2 @@
|
||||
1 2 3
|
||||
4 5 6
|
8
dbms/tests/queries/0_stateless/00335_bom.sh
Executable file
8
dbms/tests/queries/0_stateless/00335_bom.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo 'DROP TABLE IF EXISTS test.bom' | curl -sS 'http://localhost:8123/' --data-binary @-
|
||||
echo 'CREATE TABLE test.bom (a UInt8, b UInt8, c UInt8) ENGINE = Memory' | curl -sS 'http://localhost:8123/' --data-binary @-
|
||||
echo -ne '1,2,3\n' | curl -sS 'http://localhost:8123/?query=INSERT+INTO+test.bom+FORMAT+CSV' --data-binary @-
|
||||
echo -ne '\xEF\xBB\xBF4,5,6\n' | curl -sS 'http://localhost:8123/?query=INSERT+INTO+test.bom+FORMAT+CSV' --data-binary @-
|
||||
echo 'SELECT * FROM test.bom ORDER BY a' | curl -sS 'http://localhost:8123/' --data-binary @-
|
||||
echo 'DROP TABLE test.bom' | curl -sS 'http://localhost:8123/' --data-binary @-
|
Loading…
Reference in New Issue
Block a user