aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/expr/lds_empty_cast.sql
blob: fc3eae8e13177945a2b84ab4e986d64cd2efb764 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* syntax version 1 */
/* postgres can not */
select
    Yql::Append(AsList(ListCreate(Int32)), []),
    Yql::Append(AsList(DictCreate(Int32, String)), {}),
    cast([] as List<Int32>),
    cast({} as Dict<Int32, String>),
    cast({} as Set<Int32>),
    AsList(ListCreate(Int32),[]),
    AsList([],ListCreate(Int32)),
    AsList(DictCreate(Int32, String),{}),
    AsList({},DictCreate(Int32, String)),
    AsList(SetCreate(Int32),{}),
    AsList({},SetCreate(Int32));