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] {
527527 * Null value propagation from bottom to top of the expression tree.
528528 */
529529object NullPropagation extends Rule [LogicalPlan ] {
530- def nonNullLiteral (e : Expression ): Boolean = e match {
530+ private def nonNullLiteral (e : Expression ): Boolean = e match {
531531 case Literal (null , _) => false
532532 case _ => true
533533 }
@@ -773,7 +773,7 @@ object BooleanSimplification extends Rule[LogicalPlan] with PredicateHelper {
773773 * Simplifies conditional expressions (if / case).
774774 */
775775object SimplifyConditionals extends Rule [LogicalPlan ] with PredicateHelper {
776- def falseOrNullLiteral (e : Expression ): Boolean = e match {
776+ private def falseOrNullLiteral (e : Expression ): Boolean = e match {
777777 case FalseLiteral => true
778778 case Literal (null , _) => true
779779 case _ => false
You can’t perform that action at this time.
0 commit comments