ClickHouse/tests/queries/0_stateless/02737_arrayJaccardIndex.reference

24 lines
374 B
Plaintext
Raw Normal View History

2023-07-03 20:25:51 +00:00
negative tests
const arguments
[1,2] [1,2,3,4] 0.5
[1,1.1,2.2] [2.2,3.3,444] 0.2
[1] [1] 1
['a'] ['a','aa','aaa'] 0.33
[[1,2],[3,4]] [[1,2],[3,5]] 0.33
non-const arguments
2023-07-02 08:14:53 +00:00
[1] [1,2] 0.5
[1,2] [1,2] 1
[1,2,3] [1,2] 0.67
[1] [] 0
[1,2] [] 0
[1,2,3] [] 0
[1,2] [1] 0.5
[1,2] [1,2] 1
[1,2] [1,2,3] 0.67
2023-07-03 20:25:51 +00:00
[] [1] 0
[] [1,2] 0
[] [1,2,3] 0
2023-07-02 08:14:53 +00:00
[1] [1] 1
[1,2] [1,2] 1
[1,2,3] [1,2,3] 1