ClickHouse/tests/queries/0_stateless/00643_cast_zookeeper_long.reference

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
402 B
Plaintext
Raw Normal View History

2020-11-11 15:29:36 +00:00
CREATE TABLE default.cast1
(
2020-06-01 23:41:41 +00:00
`x` UInt8,
2021-02-14 16:00:47 +00:00
`e` Enum8('hello' = 1, 'world' = 2) DEFAULT CAST(x, 'Enum8(\'hello\' = 1, \'world\' = 2)')
)
ENGINE = ReplicatedMergeTree('/clickhouse/tables/default/test_00643/cast', 'r1')
ORDER BY e
SETTINGS index_granularity = 8192
x UInt8
2021-02-14 16:00:47 +00:00
e Enum8(\'hello\' = 1, \'world\' = 2) DEFAULT CAST(x, \'Enum8(\\\'hello\\\' = 1, \\\'world\\\' = 2)\')
1 hello
1 hello