-
- Downloads
[SPARK-17821][SQL] Support And and Or in Expression Canonicalize
## What changes were proposed in this pull request? Currently `Canonicalize` object doesn't support `And` and `Or`. So we can compare canonicalized form of predicates consistently. We should add the support. ## How was this patch tested? Jenkins tests. Author: Liang-Chi Hsieh <viirya@gmail.com> Closes #15388 from viirya/canonicalize-and-or.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Canonicalize.scala 7 additions, 0 deletions.../apache/spark/sql/catalyst/expressions/Canonicalize.scala
- sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ExpressionSetSuite.scala 82 additions, 0 deletions...e/spark/sql/catalyst/expressions/ExpressionSetSuite.scala
Please register or sign in to comment