ccat3z opened a new pull request, #9514: URL: https://github.com/apache/incubator-gluten/pull/9514
## What changes were proposed in this pull request? In spark, the behavior of array_exists (any_match in velox) can be changed by spark.sql.legacy.followThreeValuedLogicInArrayExists. For three-valued boolean logic, if the predicate returns any nulls and no true is obtained, then exists returns null instead of false. For example, exists(array(1, null, 3), x -> x % 2 == 0) is null. For binary-valued boolean logic, the result is false instead of null. This PR add a config kSparkLegacyFollowThreeValuedLogicInArrayExists to support this behavior. ## How was this patch tested? Unit tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
