AngersZhuuuu opened a new pull request #25878: [SPARK-29162][SQL]Simplify 
NOT(IsNull(x)) and NOT(IsNotNull(x))
URL: https://github.com/apache/spark/pull/25878
 
 
   ### What changes were proposed in this pull request?
   Rewrite 
   ```
   NOT isnull(x)     -> isnotnull(x)
   NOT isnotnull(x)  -> isnull(x)
   ```
   
   
   
   ### Why are the changes needed?
   Make LogicalPlan more readable and  useful for query canonicalization. Make 
same condition equal when judge query canonicalization equal
   
   
   ### Does this PR introduce any user-facing change?
   NO
   
   ### How was this patch tested?
   UT
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to