Github user mgaido91 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21331#discussion_r190518402
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Canonicalize.scala
 ---
    @@ -85,6 +87,10 @@ object Canonicalize {
         case Not(GreaterThanOrEqual(l, r)) => LessThan(l, r)
         case Not(LessThanOrEqual(l, r)) => GreaterThan(l, r)
     
    +    // order the list in the In operator
    +    case In(value, list) =>
    +      In(value, list.sortBy(_.semanticHash()))
    --- End diff --
    
    thanks for your great comment. This is very helpful and I'll keep in mind 
for the future. I think I addressed all the points now. Thanks.


---

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

Reply via email to