Skip to content

Commit

Permalink
Update HiveMetastoreCatalog.scala
Browse files Browse the repository at this point in the history
I think it's better to defined hiveQlTable as a val
  • Loading branch information
baishuo committed Jul 24, 2014
1 parent e34922a commit a7b32a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
val hiveQlTable = new Table(table)

def hiveQlPartitions = partitions.map { p =>
new Partition(hiveQlTable, p)
Expand Down

0 comments on commit a7b32a2

Please sign in to comment.