aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/expr/cast_string_implicit.sql
blob: b2872be2a1d27853890e5f63f29fdb31cffa4ae4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
select AsList('aaa', 'aaa'u);       -- List<String>
select AsList('aaa', '[1, 2, 3]'j); -- List<String>
select AsList('aaa', '[1; 2; 3]'y); -- List<String>

select AsList('aaa'u, 'aaa');        -- List<String>
select AsList('aaa'u, '[1, 2, 3]'j); -- List<Utf8>
select AsList('aaa'u, '[1; 2; 3]'y); -- List<String>

select AsList('[1, 2, 3]'j, 'aaa');        -- List<String>
select AsList('[1, 2, 3]'j, 'aaa'u);       -- List<Utf8>
select AsList('[1, 2, 3]'j, '[1; 2; 3]'y); -- List<String>

select AsList('[1; 2; 3]'y, 'aaa');        -- List<String>
select AsList('[1; 2; 3]'y, 'aaa'u);       -- List<String>
select AsList('[1; 2; 3]'y, '[1, 2, 3]'j); -- List<String>