ClickHouse/tests/queries/0_stateless/02891_array_shingles.reference
2024-01-19 10:52:24 +00:00

12 lines
543 B
Plaintext

-- negative tests
-- const and non-const inputs
[1,2,3,4,5] 1 [[1],[2],[3],[4],[5]] [[1],[2],[3],[4],[5]]
[1,2,3,4,5] 3 [[1,2,3],[2,3,4],[3,4,5]] [[1,2,3],[2,3,4],[3,4,5]]
[1,2,3,4,5] 5 [[1,2,3,4,5]] [[1,2,3,4,5]]
['ab','c','de','','hi'] 1 [['ab'],['c'],['de'],[''],['hi']] [['ab'],['c'],['de'],[''],['hi']]
['ab','c','de','','hi'] 3 [['ab','c','de'],['c','de',''],['de','','hi']] [['ab','c','de'],['c','de',''],['de','','hi']]
['ab','c','de','','hi'] 5 [['ab','c','de','','hi']] [['ab','c','de','','hi']]
-- special cases
[[2],[1]]
[[2],[1]]