summaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/in/in_ansi_empty.yql
blob: 20a871200cd1aa51a7345d7ad9ee4437948b0ca7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PRAGMA AnsiInForEmptyOrNullableItemsCollections;

SELECT
    null      IN EmptyList(),                    -- false?
    null      IN EmptyDict(),                    -- false?
    null      IN (),                             -- false?
    1         IN EmptyList(),                    -- false
    1         IN EmptyDict(),                    -- false
    1         IN (),                             -- false
    null      IN Nothing(EmptyList?),            -- Nothing<Bool?>
    null      IN Nothing(EmptyDict?),            -- Nothing<Bool?>
    null      IN Nothing(ParseType("Tuple<>?")), -- Nothing<Bool?>
;