From d6134f78d3d448a990af53beb8850ff91b71aef6 Mon Sep 17 00:00:00 2001 From: wayneguow Date: Tue, 7 Feb 2023 16:11:09 +0900 Subject: [PATCH] [SPARK-41962][MINOR][SQL] Update the order of imports in class SpecificParquetRecordReaderBase ### What changes were proposed in this pull request? Update the order of imports in class SpecificParquetRecordReaderBase. ### Why are the changes needed? Follow the code style. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Passed GA. Closes #39906 from wayneguow/import. Authored-by: wayneguow Signed-off-by: Hyukjin Kwon --- .../parquet/SpecificParquetRecordReaderBase.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/SpecificParquetRecordReaderBase.java b/sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/SpecificParquetRecordReaderBase.java index 330296b64c5fe..8cefa589c0ecb 100644 --- a/sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/SpecificParquetRecordReaderBase.java +++ b/sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/SpecificParquetRecordReaderBase.java @@ -28,12 +28,9 @@ import java.util.Map; import java.util.Set; -import com.google.common.annotations.VisibleForTesting; -import org.apache.parquet.VersionParser; -import org.apache.parquet.VersionParser.ParsedVersion; -import org.apache.parquet.column.page.PageReadStore; import scala.Option; +import com.google.common.annotations.VisibleForTesting; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.mapred.FileSplit; @@ -42,6 +39,9 @@ import org.apache.hadoop.mapreduce.TaskAttemptContext; import org.apache.parquet.HadoopReadOptions; import org.apache.parquet.ParquetReadOptions; +import org.apache.parquet.VersionParser; +import org.apache.parquet.VersionParser.ParsedVersion; +import org.apache.parquet.column.page.PageReadStore; import org.apache.parquet.hadoop.BadConfigurationException; import org.apache.parquet.hadoop.ParquetFileReader; import org.apache.parquet.hadoop.ParquetInputFormat; @@ -51,6 +51,7 @@ import org.apache.parquet.hadoop.util.HadoopInputFile; import org.apache.parquet.schema.MessageType; import org.apache.parquet.schema.Types; + import org.apache.spark.TaskContext; import org.apache.spark.TaskContext$; import org.apache.spark.sql.internal.SQLConf;