Skip to content

Commit 2456a94

Browse files
committed
fix test failed
1 parent f83d81d commit 2456a94

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/TableReader.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,13 @@ class HadoopTableReader(
111111

112112
// Create local references to member variables, so that the entire `this` object won't be
113113
// serialized in the closure below.
114-
val localTableDesc = tableDesc
115114
val broadcastedHadoopConf = _broadcastedHadoopConf
116115

117116
val tablePath = hiveTable.getPath
118117
val inputPathStr = applyFilterIfNeeded(tablePath, filterOpt)
119118

120119
val locationPath = new Path(inputPathStr)
121-
val fs = locationPath.getFileSystem(broadcastedHadoopConf.value.value)
120+
val fs = locationPath.getFileSystem(_broadcastedHadoopConf.value.value)
122121

123122
// if the location of the table which is not created by 'stored by' does not exist,
124123
// return an empty RDD

0 commit comments

Comments
 (0)