You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @andygrove thank you for notifying me of this regression. I took a quick look today and it seems like you are right that casting the then expression might also solve this issue (similar to else expression). I will look into it more in detail tomorrow when I have some more time. Sorry about re-introducing this bug.
Describe the bug
I am trying to upgrade Comet to the latest DataFusion and see some queries fail.
The regression seems to have been introduced in #13953.
Example Query:
Query plan:
Failure:
Cause:
In the new
expr_or_expr
function, the following line is causing the failure:The type of
else_
isListArray
and the type ofthen_value
isNullArray
Solution:
Perhaps we just need to add a cast in here? I am going to add a repro to DataFusion and work on a fix.
To Reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: