aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/expr/list_extend.sql
blob: 337af69645679f2c6c7e3cef8b0ec83956b1e81c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* postgres can not */
/* syntax version 1 */
PRAGMA warning("disable", "1107");
SELECT
    ListExtend([2u], [3s], [4l]),
    ListExtend(1, "String", 123, null),
    ListExtendStrict(1, "String", 123, null),
    ListExtend([3s], [4], Just([5l])),
    ListExtend([1u], [2u], Nothing(List<Int32>?)),
    ListExtendStrict([1u], [2u], Nothing(List<UInt32>?)),
    ListExtendStrict([1u], [2u], [4u, 3u]),
    ListExtendStrict([1u], Just([2u]), [], [5u, 6u]),
;