Skip to content

Commit d4c8f79

Browse files
szehon-hoHyukjinKwon
authored andcommitted
[SPARK-52052][CORE][FOLLOW-UP] Remove extra broadcast
### What changes were proposed in this pull request? Remove an extra broadcast added in #50844 ### Why are the changes needed? Return value of broadcast is not used, so it seems it is not needed ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing tests ### Was this patch authored or co-authored using generative AI tooling? No Closes #50874 from szehon-ho/SPARK-52052-follow. Authored-by: Szehon Ho <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
1 parent 3fad557 commit d4c8f79

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JsonFileFormat.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ case class JsonFileFormat() extends TextBasedFileFormat with DataSourceRegister
9696
hadoopConf: Configuration): PartitionedFile => Iterator[InternalRow] = {
9797
val broadcastedHadoopConf =
9898
SerializableConfiguration.broadcast(sparkSession.sparkContext, hadoopConf)
99-
sparkSession.sparkContext.broadcast(new SerializableConfiguration(hadoopConf))
10099

101100
val parsedOptions = new JSONOptionsInRead(
102101
options,

0 commit comments

Comments
 (0)