You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2018/12/16 00:58:33 UTC

[GitHub] gatorsmile commented on issue #23315: [SPARK-26366][SQL] ReplaceExceptWithFilter should consider NULL as False

gatorsmile commented on issue #23315: [SPARK-26366][SQL] ReplaceExceptWithFilter should consider NULL as False
URL: https://github.com/apache/spark/pull/23315#issuecomment-447609414
 
 
   There is another bug in this rule. The condition of the right side must be deterministic; otherwise, the result could violate the definition of SQL compliant EXCEPT.  
   ```
    val df = Seq(1, 2, 2, 3).toDF("id")
   ```
   In the above example, if `df` is on the left side, the final result of EXCEPT will be either zero or two `2`. It is impossible to return a single 2 in the final result.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org