mgaido91 commented on a change in pull request #24873: [SPARK-28052][SQL] Make 
`ArrayExists` follow the three-valued boolean logic.
URL: https://github.com/apache/spark/pull/24873#discussion_r293967567
 
 

 ##########
 File path: docs/sql-migration-guide-upgrade.md
 ##########
 @@ -139,6 +139,8 @@ license: |
 
   - Since Spark 3.0, we use a new protocol for fetching shuffle blocks, for 
external shuffle service users, we need to upgrade the server correspondingly. 
Otherwise, we'll get the error message `UnsupportedOperationException: 
Unexpected message: FetchShuffleBlocks`. If it is hard to upgrade the shuffle 
service right now, you can still use the old protocol by setting 
`spark.shuffle.useOldFetchProtocol` to `true`. 
 
+  - Since Spark 3.0, a higher-order function `exists` follows the three-valued 
boolean logic. The previous behaviour can be restored by setting 
`spark.sql.legacy.arrayExistsFollowsThreeValuedLogic` to `false`.
 
 Review comment:
   may we add an example in order to make more clear to users what to expect? 
`three-valued boolean logic` may be a bit obscure for users, IMHO.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to