mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Added test [#CLICKHOUSE-3559].
This commit is contained in:
parent
4e69ba675d
commit
8b010428a5
@ -0,0 +1 @@
|
||||
a
|
10
dbms/tests/queries/0_stateless/00564_enum_order.sh
Executable file
10
dbms/tests/queries/0_stateless/00564_enum_order.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
. $CURDIR/../shell_config.sh
|
||||
|
||||
$CLICKHOUSE_CURL -sS "$CLICKHOUSE_URL" -d "DROP TABLE IF EXISTS test.enum";
|
||||
$CLICKHOUSE_CURL -sS "$CLICKHOUSE_URL" -d "CREATE TABLE test.enum (x Enum8('a' = 1, 'bcdefghijklmno' = 0)) ENGINE = Memory";
|
||||
$CLICKHOUSE_CURL -sS "$CLICKHOUSE_URL" -d "INSERT INTO test.enum VALUES ('a')";
|
||||
$CLICKHOUSE_CURL -sS "$CLICKHOUSE_URL" -d "SELECT * FROM test.enum";
|
||||
$CLICKHOUSE_CURL -sS "$CLICKHOUSE_URL" -d "DROP TABLE test.enum";
|
Loading…
Reference in New Issue
Block a user