Skip to content

test: add array_contains null semantics coverage#4422

Open
michaelmitchell-bit wants to merge 1 commit into
apache:mainfrom
michaelmitchell-bit:fix-array-contains-null-handling-3177
Open

test: add array_contains null semantics coverage#4422
michaelmitchell-bit wants to merge 1 commit into
apache:mainfrom
michaelmitchell-bit:fix-array-contains-null-handling-3177

Conversation

@michaelmitchell-bit
Copy link
Copy Markdown

@michaelmitchell-bit michaelmitchell-bit commented May 25, 2026

Which issue does this PR close?

Closes #3177.

Rationale for this change

This adds regression coverage for Spark-compatible array_contains NULL semantics.

What changes are included in this PR?

Adds SQL test cases for array_contains when the array contains NULL elements and when the search value is NULL.

How are these changes tested?

Ran:

./mvnw test -Dtest=none -Dsuites="org.apache.comet.CometSqlFileTestSuite array_contains" -Dscalastyle.skip=true

@michaelmitchell-bit michaelmitchell-bit force-pushed the fix-array-contains-null-handling-3177 branch from 5291c76 to 342068e Compare May 25, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Incompatibility] Verify array_contains null handling matches Spark

1 participant