ClickHouse/tests/queries/0_stateless/01605_key_condition_enum_int.sql

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

5 lines
197 B
MySQL
Raw Normal View History

2020-12-18 08:10:54 +00:00
drop table if exists enum;
create table enum engine MergeTree order by enum as select cast(1, 'Enum8(\'zero\'=0, \'one\'=1)') AS enum;
select * from enum where enum = 1;
drop table if exists enum;