ClickHouse/tests/queries/0_stateless/02366_kql_func_dynamic.reference

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
417 B
Plaintext
Raw Normal View History

2022-08-24 20:01:13 +00:00
-- array_length()
1
1
-- array_sum()
1
1
-- array_index_of()
3
1
-- array_iif()
[1,5,3]
[1,5,3]
[1,5,NULL]
2022-09-06 15:03:24 +00:00
[NULL,NULL,NULL]
2022-08-24 20:01:13 +00:00
-- array_concat()
[1,2,3,4,5,6]
-- array_slice()
[2,3]
2022-09-06 15:03:24 +00:00
[3,4]
2022-08-24 20:01:13 +00:00
[[1],[2,3],[4,5]]
[[1,2],[3,4,5]]
[[1],[2,3],[4,5]]
[[1,2,3,4],[],[4,5]]
2022-09-06 15:03:24 +00:00
-- array_sort_asc()
[1,2,3,4,5] ['a','e','b','c','d']
['George','John','Paul','Ringo']
['blue','green','yellow',NULL,NULL]
[NULL,NULL,'blue','green','yellow']