Skip to content

Commit

Permalink
Use method instead of configuration directly
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Nov 14, 2014
1 parent 99c0e6b commit 9a5e171
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ abstract class BaseRelation {
* large to broadcast. This method will be called multiple times during query planning
* and thus should not perform expensive operations for each invocation.
*/
def sizeInBytes = sqlContext.getConf(SQLConf.DEFAULT_SIZE_IN_BYTES).toLong
def sizeInBytes = sqlContext.defaultSizeInBytes
}

/**
Expand Down

0 comments on commit 9a5e171

Please sign in to comment.