Skip to content
Snippets Groups Projects
Commit ab3c6a45 authored by baishuo(白硕)'s avatar baishuo(白硕) Committed by Michael Armbrust
Browse files

[SQL]Update HiveMetastoreCatalog.scala

I think it's better to defined hiveQlTable as a val

Author: baishuo(白硕) <vc_java@hotmail.com>

Closes #1569 from baishuo/patch-1 and squashes the following commits:

dc2f895 [baishuo(白硕)] Update HiveMetastoreCatalog.scala
a7b32a2 [baishuo(白硕)] Update HiveMetastoreCatalog.scala
parent a19d8c89
No related branches found
No related tags found
No related merge requests found
......@@ -258,7 +258,7 @@ private[hive] case class MetastoreRelation
// org.apache.hadoop.hive.ql.metadata.Partition will cause a NotSerializableException
// which indicates the SerDe we used is not Serializable.
def hiveQlTable = new Table(table)
@transient lazy val hiveQlTable = new Table(table)
def hiveQlPartitions = partitions.map { p =>
new Partition(hiveQlTable, p)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment