[GitHub] [spark] maropu commented on a change in pull request #30790: [SPARK-33798][SQL] Add new rule to push down the foldable expressions through CaseWhen/If

2020-12-17 Thread GitBox
maropu commented on a change in pull request #30790: URL: https://github.com/apache/spark/pull/30790#discussion_r545499279 ## File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala ## @@ -528,6 +528,28 @@ object SimplifyConditionals ex

[GitHub] [spark] maropu commented on a change in pull request #30790: [SPARK-33798][SQL] Add new rule to push down the foldable expressions through CaseWhen/If

2020-12-16 Thread GitBox
maropu commented on a change in pull request #30790: URL: https://github.com/apache/spark/pull/30790#discussion_r544876405 ## File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/expressions.scala ## @@ -528,6 +528,28 @@ object SimplifyConditionals ex