@@ -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