aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/csee/l2_dup_l1_many.sql
blob: e1a0c6977270c04288f932ce3189b0b971c5ed43 (plain) (blame)
1
2
3
4
5
6
7
8
9
SELECT
    AsList(
        ListMap(AsList(1,2),($_x)->{
            return Yql::Fold(AsList(1),0,($a,$b)->{return $a+$b}) + Yql::Fold(AsList(1),0,($a,$b)->{return $a+$b})
        }),
        ListMap(AsList(10,11),($_x)->{
            return Yql::Fold(AsList(1),0,($a,$b)->{return $a+$b}) * Yql::Fold(AsList(1),0,($a,$b)->{return $a+$b})
        })
    );