ClickHouse/tests/queries/0_stateless/01284_view_and_extremes_bug.sql

5 lines
284 B
MySQL
Raw Normal View History

2020-05-26 13:32:44 +00:00
drop table if exists view_bug_const;
CREATE VIEW view_bug_const AS SELECT 'World' AS hello FROM (SELECT number FROM system.numbers LIMIT 1) AS n1 JOIN (SELECT number FROM system.numbers LIMIT 1) AS n2 USING (number);
select * from view_bug_const;
drop table if exists view_bug_const;