File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -527,7 +527,7 @@ object LikeSimplification extends Rule[LogicalPlan] {
527
527
* Null value propagation from bottom to top of the expression tree.
528
528
*/
529
529
object NullPropagation extends Rule [LogicalPlan ] {
530
- def nonNullLiteral (e : Expression ): Boolean = e match {
530
+ private def nonNullLiteral (e : Expression ): Boolean = e match {
531
531
case Literal (null , _) => false
532
532
case _ => true
533
533
}
@@ -773,7 +773,7 @@ object BooleanSimplification extends Rule[LogicalPlan] with PredicateHelper {
773
773
* Simplifies conditional expressions (if / case).
774
774
*/
775
775
object SimplifyConditionals extends Rule [LogicalPlan ] with PredicateHelper {
776
- def falseOrNullLiteral (e : Expression ): Boolean = e match {
776
+ private def falseOrNullLiteral (e : Expression ): Boolean = e match {
777
777
case FalseLiteral => true
778
778
case Literal (null , _) => true
779
779
case _ => false
You can’t perform that action at this time.
0 commit comments