Skip to content

Commit 9a5e171

Browse files
committed
Use method instead of configuration directly
1 parent 99c0e6b commit 9a5e171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/sources/interfaces.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ abstract class BaseRelation {
6161
* large to broadcast. This method will be called multiple times during query planning
6262
* and thus should not perform expensive operations for each invocation.
6363
*/
64-
def sizeInBytes = sqlContext.getConf(SQLConf.DEFAULT_SIZE_IN_BYTES).toLong
64+
def sizeInBytes = sqlContext.defaultSizeInBytes
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)