Skip to content

Commit 934e2aa

Browse files
keypointtsrowen
authored andcommitted
[MINOR] Fix Java style errors and remove unused imports
Fix Java style errors and remove unused imports, which are randomly found Tested on my local machine. Author: Xin Ren <[email protected]> Closes #14161 from keypointt/SPARK-16437. (cherry picked from commit f73891e) Signed-off-by: Sean Owen <[email protected]>
1 parent 5301efc commit 934e2aa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,8 +778,7 @@ private[sql] object ParquetFileFormat extends Logging {
778778
val assumeBinaryIsString = sparkSession.sessionState.conf.isParquetBinaryAsString
779779
val assumeInt96IsTimestamp = sparkSession.sessionState.conf.isParquetINT96AsTimestamp
780780
val writeLegacyParquetFormat = sparkSession.sessionState.conf.writeLegacyParquetFormat
781-
val serializedConf =
782-
new SerializableConfiguration(sparkSession.sessionState.newHadoopConf())
781+
val serializedConf = new SerializableConfiguration(sparkSession.sessionState.newHadoopConf())
783782

784783
// !! HACK ALERT !!
785784
//

sql/core/src/test/scala/org/apache/spark/sql/sources/DataSourceTest.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
package org.apache.spark.sql.sources
1919

2020
import org.apache.spark.sql._
21-
import org.apache.spark.sql.internal.SQLConf
2221

2322
private[sql] abstract class DataSourceTest extends QueryTest {
2423

0 commit comments

Comments
 (0)