File tree Expand file tree Collapse file tree
main/java/org/apache/parquet/format/converter
test/java/org/apache/parquet/statistics Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 3737import org .apache .parquet .hadoop .example .GroupWriteSupport ;
3838import org .apache .parquet .hadoop .metadata .ColumnChunkMetaData ;
3939import org .apache .parquet .hadoop .metadata .ParquetMetadata ;
40- import org .apache .parquet .internal .column .columnindex .ColumnIndex ;
4140import org .apache .parquet .io .LocalInputFile ;
4241import org .apache .parquet .io .LocalOutputFile ;
4342import 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}
You can’t perform that action at this time.
0 commit comments