Skip to content

Commit 1957dca

Browse files
committed
fix scala fmt issue
1 parent 33d3b77 commit 1957dca

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

parquet-hadoop/src/main/java/org/apache/parquet/format/converter/ParquetMetadataConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,8 +946,8 @@ GeospatialStatistics toParquetGeospatialStatistics(
946946
}
947947

948948
GeospatialStatistics formatStats = new GeospatialStatistics();
949-
// boolean isBoundingBoxSet = false;
950-
// boolean isGeometryTypes = false;
949+
// boolean isBoundingBoxSet = false;
950+
// boolean isGeometryTypes = false;
951951
boolean hasStats = false;
952952

953953
if (geospatialStatistics.getBoundingBox() != null

parquet-hadoop/src/test/java/org/apache/parquet/statistics/TestGeometryTypeRoundTrip.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
import org.apache.parquet.hadoop.example.GroupWriteSupport;
3838
import org.apache.parquet.hadoop.metadata.ColumnChunkMetaData;
3939
import org.apache.parquet.hadoop.metadata.ParquetMetadata;
40-
import org.apache.parquet.internal.column.columnindex.ColumnIndex;
4140
import org.apache.parquet.io.LocalInputFile;
4241
import org.apache.parquet.io.LocalOutputFile;
4342
import org.apache.parquet.io.api.Binary;
@@ -220,7 +219,9 @@ public void testInvalidGeometryPresented() throws Exception {
220219
Assert.assertTrue("Geospatial statistics should be valid", geospatialStatistics.isValid());
221220
Assert.assertNotNull("Bounding box should not be null", geospatialStatistics.getBoundingBox());
222221
Assert.assertNotNull("Geospatial types should not be null", geospatialStatistics.getGeospatialTypes());
223-
Assert.assertTrue("Geospatial types should be valid", geospatialStatistics.getGeospatialTypes().isValid());
222+
Assert.assertTrue(
223+
"Geospatial types should be valid",
224+
geospatialStatistics.getGeospatialTypes().isValid());
224225
}
225226
}
226227
}

0 commit comments

Comments
 (0)