Skip to content

Commit 0c88be0

Browse files
committed
revert TestStatisticsFilter.java
1 parent 1ac9192 commit 0c88be0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

parquet-hadoop/src/test/java/parquet/filter2/statisticslevel/TestStatisticsFilter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,10 @@ public void testUdp() {
279279
@Test
280280
public void testClearExceptionForNots() {
281281
List<ColumnChunkMetaData> columnMetas = Arrays.asList(
282-
getDoubleColumnMeta(new DoubleStatistics(), 0L),
283-
getIntColumnMeta(new IntStatistics(), 0L));
282+
getIntColumnMeta(new IntStatistics(), 0L),
283+
getDoubleColumnMeta(new DoubleStatistics(), 0L));
284284

285-
FilterPredicate pred = and(not(eq(doubleColumn, 12.0)), eq(intColumn, 17));
285+
FilterPredicate pred = and(eq(intColumn, 17), not(eq(doubleColumn, 12.0)));
286286

287287
try {
288288
canDrop(pred, columnMetas);
@@ -297,7 +297,7 @@ public void testClearExceptionForNots() {
297297
public void testMissingColumn() {
298298
List<ColumnChunkMetaData> columnMetas = Arrays.asList(getIntColumnMeta(new IntStatistics(), 0L));
299299
try {
300-
canDrop(and(eq(doubleColumn, 12.0), eq(intColumn, 17)), columnMetas);
300+
canDrop(and(eq(intColumn, 17), eq(doubleColumn, 12.0)), columnMetas);
301301
fail("This should throw");
302302
} catch (IllegalArgumentException e) {
303303
assertEquals("Column double.column not found in schema!", e.getMessage());

0 commit comments

Comments
 (0)