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
I added the following test to the existing "array_remove" test in CometExpressionSuite:
sql("SELECT array(struct(_1, _2)) as a, struct(_1, _2) as b FROM t1")
.createOrReplaceTempView("t2")
checkSparkAnswerAndOperator(sql("SELECT array_remove(a, b) FROM t2"))
We should only attempt to run expressions natively when we know that the input types are supported. This is a general problem that we have and is not specific to array_remove.
I am going to create a PR to fix this specific issue and to suggest a general approach for us to avoid these kind of issues.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I added the following test to the existing "array_remove" test in CometExpressionSuite:
The query fails at runtime:
Steps to reproduce
No response
Expected behavior
We should only attempt to run expressions natively when we know that the input types are supported. This is a general problem that we have and is not specific to array_remove.
I am going to create a PR to fix this specific issue and to suggest a general approach for us to avoid these kind of issues.
Additional context
No response
The text was updated successfully, but these errors were encountered: