ClickHouse/dbms/tests/queries/0_stateless/00739_array_element_nullable_string_mattrobenolt.sql

14 lines
459 B
MySQL
Raw Normal View History

2019-06-03 17:36:27 +00:00
drop temporary table if exists wups;
2018-10-16 21:46:42 +00:00
create temporary table wups (a Array(Nullable(String)));
select count(), a[1] from wups group by a[1];
insert into wups (a) values(['foo']);
select count(), a[1] from wups group by a[1];
insert into wups (a) values([]);
select count(), a[1] from wups group by a[1] order by a[1];
drop temporary table wups;
create temporary table wups (a Array(Nullable(String)));
insert into wups (a) values([]);
select a[1] from wups;