Skip to content

Commit

Permalink
add lazy flag
Browse files Browse the repository at this point in the history
  • Loading branch information
windpiger committed Mar 2, 2017
1 parent badd61b commit 35d2b59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import org.apache.spark.sql.catalyst.expressions.Expression
abstract class ExternalCatalog(conf: SparkConf, hadoopConf: Configuration) {
import CatalogTypes.TablePartitionSpec

val defaultDB: CatalogDatabase = {
lazy val defaultDB: CatalogDatabase = {
val qualifiedWarehousePath = SessionCatalog
.makeQualifiedPath(warehousePath, hadoopConf).toString
CatalogDatabase(
Expand Down

0 comments on commit 35d2b59

Please sign in to comment.