aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/expr/empty_list_ops1.sql
blob: cdf4eb22024895c6701c94bc5879699b38a725f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* syntax version 1 */
/* postgres can not */
select
    ListLength([]),
    Yql::Append([],1),
    Yql::Prepend(2,[]),
    Yql::Extend(),
    Yql::Extend([],[]),
    Yql::Extend([],[1]),
    Yql::Extend([1],[]),
    Yql::UnionAll(),
    Yql::UnionAll([],[]),
    Yql::UnionAll([],[<|a:1|>]),
    Yql::UnionAll([<|a:1|>],[]),
    ListExtend(),
    ListExtend([],[]),
    ListExtend([],[1]),
    ListExtend([1],[]),
    ListUnionAll(),
    ListUnionAll([],[]),
    ListUnionAll([],[<|a:1|>]),
    ListUnionAll([<|a:1|>],[]),
    Yql::Zip([]),
    Yql::Zip([],[]),    
    Yql::Zip([],[1]),
    Yql::Zip([1],[]),
    Yql::ZipAll([]),
    Yql::ZipAll([],[]),    
    Yql::ZipAll([],[1]),
    Yql::ZipAll([1],[]),
    ListZip([]),
    ListZip([],[]),    
    ListZip([],[1]),
    ListZip([1],[]),
    ListZipAll([]),
    ListZipAll([],[]),    
    ListZipAll([],[1]),
    ListZipAll([1],[]),
    
    ListLength(Just([])),
    ListExtend(),
    ListExtend(Just([]),[]),
    ListExtend(Just([]),Just([])),
    ListExtend(Just([]),[1]),
    ListExtend([1],Just([])),
    ListUnionAll(),
    ListUnionAll(Just([]),[]),
    ListUnionAll(Just([]),Just([])),
    ListUnionAll(Just([]),[<|a:1|>]),
    ListUnionAll([<|a:1|>],Just([])),
    ListZip(Just([])),
    ListZip(Just([]),[]),
    ListZip(Just([]),Just([])),    
    ListZip(Just([]),[1]),
    ListZip([1],Just([])),
    ListZipAll(Just([])),
    ListZipAll(Just([]),[]),
    ListZipAll(Just([]),Just([])),    
    ListZipAll(Just([]),[1]),
    ListZipAll([1],Just([]));