Replies: 2 comments
-
This doesn't work either: WITH Received exception from server (version 21.3.3): |
Beta Was this translation helpful? Give feedback.
0 replies
-
Functions need to know argument types, but ClickHouse cannot deduce a type of empty array. You should specify some type explicitly, for example:
or
or
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I make this not try to evaluate an empty array as "Nothing"?
WITH
[] AS A,
[] AS M
SELECT arrayExists((a, m) -> bitAnd(a, m), A, M)
Received exception from server (version 21.3.3):
Code: 43. DB::Exception: Received from localhost:9000. DB::Exception: Illegal types Nothing and Nothing of arguments of function bitAnd: While processing arrayExists((a, m) -> bitAnd(a, m), [] AS A, [] AS
M).
Beta Was this translation helpful? Give feedback.
All reactions