Skip to content

Commit 84c45c0

Browse files
committed
fixed NPE
1 parent 4362f94 commit 84c45c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ private[hive] case class MetastoreRelation
719719
(@transient private val sqlContext: HiveContext)
720720
extends LeafNode with MultiInstanceRelation with FileRelation {
721721

722-
private[hive] var pruningPredicates: Seq[Expression] = null
722+
private[hive] var pruningPredicates: Seq[Expression] = Nil
723723

724724
override def equals(other: Any): Boolean = other match {
725725
case relation: MetastoreRelation =>

0 commit comments

Comments
 (0)