Skip to content

Commit 93d0f64

Browse files
committed
metastore concurrency fix.
1 parent db44a30 commit 93d0f64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ private[hive] case class MetastoreRelation
265265
// org.apache.hadoop.hive.ql.metadata.Partition will cause a NotSerializableException
266266
// which indicates the SerDe we used is not Serializable.
267267

268-
@transient lazy val hiveQlTable = new Table(table)
268+
@transient val hiveQlTable = new Table(table)
269269

270-
def hiveQlPartitions = partitions.map { p =>
270+
@transient val hiveQlPartitions = partitions.map { p =>
271271
new Partition(hiveQlTable, p)
272272
}
273273

0 commit comments

Comments
 (0)