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
{{ message }}
Repository navigation
array_contains returns null instead of false for empty array with literal value #3346
This expression (ArrayContains) is now marked as Incompatible in Comet, which means it falls back to Spark by default and only runs natively when spark.comet.expr.allowIncompatible=true is explicitly set. Since default behavior is now correct (via Spark fallback), this is no longer a bug. Relabeling as an enhancement to track implementing compatible native behavior in the future.
Activity
Add literal argument tests for all SQL file expression tests
comphead commentedon Feb 25, 2026
Looks like it is fixed in df52
comphead commentedon Feb 25, 2026
Depends on #3536
comphead commentedon Feb 27, 2026
empty array is fixed in DF52
another problem with
Spark returns NULL in this case and this behavior is being explained in https://issues.apache.org/jira/browse/SPARK-55749
So DataFusion needs to have Spark compatible
array_containsfunctioncomphead commentedon Feb 28, 2026
Depends on apache/datafusion#20611
n0r0shi commentedon Feb 28, 2026
I'd like to work on this.
comphead commentedon Mar 6, 2026
Depends on #3574
fix: mark expressions with known correctness issues as incompatible
chore: Mark expressions with known correctness issues as incompatible (…
andygrove commentedon Mar 27, 2026
This expression (
ArrayContains) is now marked as Incompatible in Comet, which means it falls back to Spark by default and only runs natively whenspark.comet.expr.allowIncompatible=trueis explicitly set. Since default behavior is now correct (via Spark fallback), this is no longer a bug. Relabeling as an enhancement to track implementing compatible native behavior in the future.