Skip to content

Commit

Permalink
Make resource loader a transient lazy val.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhuai committed Apr 5, 2016
1 parent 88fd93c commit 8a41f6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class SQLContext private[sql](
}

/** A [[FunctionResourceLoader]] that can be used in SessionCatalog. */
protected[sql] lazy val functionResourceLoader: FunctionResourceLoader = {
@transient protected[sql] lazy val functionResourceLoader: FunctionResourceLoader = {
new FunctionResourceLoader {
override def loadResource(resource: FunctionResource): Unit = {
resource.resourceType match {
Expand Down

0 comments on commit 8a41f6d

Please sign in to comment.