@@ -386,7 +386,7 @@ async fn test_one_row_group_without_null() {
386
386
// 3 rows
387
387
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 3 ] ) ) ,
388
388
column_name : "i64" ,
389
- check : Check :: RowGroup ,
389
+ check : Check :: Both ,
390
390
}
391
391
. run ( )
392
392
}
@@ -413,7 +413,7 @@ async fn test_one_row_group_with_null_and_negative() {
413
413
// 8 rows
414
414
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 8 ] ) ) ,
415
415
column_name : "i64" ,
416
- check : Check :: RowGroup ,
416
+ check : Check :: Both ,
417
417
}
418
418
. run ( )
419
419
}
@@ -440,7 +440,7 @@ async fn test_two_row_group_with_null() {
440
440
// row counts are [10, 5]
441
441
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 10 , 5 ] ) ) ,
442
442
column_name : "i64" ,
443
- check : Check :: RowGroup ,
443
+ check : Check :: Both ,
444
444
}
445
445
. run ( )
446
446
}
@@ -467,7 +467,7 @@ async fn test_two_row_groups_with_all_nulls_in_one() {
467
467
// row counts are [5, 3]
468
468
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 3 ] ) ) ,
469
469
column_name : "i64" ,
470
- check : Check :: RowGroup ,
470
+ check : Check :: Both ,
471
471
}
472
472
. run ( )
473
473
}
@@ -1408,7 +1408,7 @@ async fn test_int32_range() {
1408
1408
expected_null_counts : UInt64Array :: from ( vec ! [ 0 ] ) ,
1409
1409
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 4 ] ) ) ,
1410
1410
column_name : "i" ,
1411
- check : Check :: RowGroup ,
1411
+ check : Check :: Both ,
1412
1412
}
1413
1413
. run ( ) ;
1414
1414
}
@@ -1431,7 +1431,7 @@ async fn test_uint32_range() {
1431
1431
expected_null_counts : UInt64Array :: from ( vec ! [ 0 ] ) ,
1432
1432
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 4 ] ) ) ,
1433
1433
column_name : "u" ,
1434
- check : Check :: RowGroup ,
1434
+ check : Check :: Both ,
1435
1435
}
1436
1436
. run ( ) ;
1437
1437
}
@@ -1453,7 +1453,7 @@ async fn test_numeric_limits_unsigned() {
1453
1453
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1454
1454
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1455
1455
column_name : "u8" ,
1456
- check : Check :: RowGroup ,
1456
+ check : Check :: Both ,
1457
1457
}
1458
1458
. run ( ) ;
1459
1459
@@ -1464,7 +1464,7 @@ async fn test_numeric_limits_unsigned() {
1464
1464
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1465
1465
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1466
1466
column_name : "u16" ,
1467
- check : Check :: RowGroup ,
1467
+ check : Check :: Both ,
1468
1468
}
1469
1469
. run ( ) ;
1470
1470
@@ -1475,7 +1475,7 @@ async fn test_numeric_limits_unsigned() {
1475
1475
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1476
1476
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1477
1477
column_name : "u32" ,
1478
- check : Check :: RowGroup ,
1478
+ check : Check :: Both ,
1479
1479
}
1480
1480
. run ( ) ;
1481
1481
@@ -1486,7 +1486,7 @@ async fn test_numeric_limits_unsigned() {
1486
1486
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1487
1487
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1488
1488
column_name : "u64" ,
1489
- check : Check :: RowGroup ,
1489
+ check : Check :: Both ,
1490
1490
}
1491
1491
. run ( ) ;
1492
1492
}
@@ -1508,7 +1508,7 @@ async fn test_numeric_limits_signed() {
1508
1508
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1509
1509
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1510
1510
column_name : "i8" ,
1511
- check : Check :: RowGroup ,
1511
+ check : Check :: Both ,
1512
1512
}
1513
1513
. run ( ) ;
1514
1514
@@ -1519,7 +1519,7 @@ async fn test_numeric_limits_signed() {
1519
1519
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1520
1520
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1521
1521
column_name : "i16" ,
1522
- check : Check :: RowGroup ,
1522
+ check : Check :: Both ,
1523
1523
}
1524
1524
. run ( ) ;
1525
1525
@@ -1530,7 +1530,7 @@ async fn test_numeric_limits_signed() {
1530
1530
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1531
1531
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1532
1532
column_name : "i32" ,
1533
- check : Check :: RowGroup ,
1533
+ check : Check :: Both ,
1534
1534
}
1535
1535
. run ( ) ;
1536
1536
@@ -1541,7 +1541,7 @@ async fn test_numeric_limits_signed() {
1541
1541
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1542
1542
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1543
1543
column_name : "i64" ,
1544
- check : Check :: RowGroup ,
1544
+ check : Check :: Both ,
1545
1545
}
1546
1546
. run ( ) ;
1547
1547
}
@@ -1563,7 +1563,7 @@ async fn test_numeric_limits_float() {
1563
1563
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1564
1564
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1565
1565
column_name : "f32" ,
1566
- check : Check :: RowGroup ,
1566
+ check : Check :: Both ,
1567
1567
}
1568
1568
. run ( ) ;
1569
1569
@@ -1574,7 +1574,7 @@ async fn test_numeric_limits_float() {
1574
1574
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1575
1575
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1576
1576
column_name : "f64" ,
1577
- check : Check :: RowGroup ,
1577
+ check : Check :: Both ,
1578
1578
}
1579
1579
. run ( ) ;
1580
1580
@@ -1585,7 +1585,7 @@ async fn test_numeric_limits_float() {
1585
1585
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1586
1586
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1587
1587
column_name : "f32_nan" ,
1588
- check : Check :: RowGroup ,
1588
+ check : Check :: Both ,
1589
1589
}
1590
1590
. run ( ) ;
1591
1591
@@ -1596,7 +1596,7 @@ async fn test_numeric_limits_float() {
1596
1596
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 ] ) ,
1597
1597
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1598
1598
column_name : "f64_nan" ,
1599
- check : Check :: RowGroup ,
1599
+ check : Check :: Both ,
1600
1600
}
1601
1601
. run ( ) ;
1602
1602
}
@@ -1619,7 +1619,7 @@ async fn test_float64() {
1619
1619
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 , 0 , 0 ] ) ,
1620
1620
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 5 , 5 , 5 ] ) ) ,
1621
1621
column_name : "f" ,
1622
- check : Check :: RowGroup ,
1622
+ check : Check :: Both ,
1623
1623
}
1624
1624
. run ( ) ;
1625
1625
}
@@ -1652,7 +1652,7 @@ async fn test_float16() {
1652
1652
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 , 0 , 0 ] ) ,
1653
1653
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 5 , 5 , 5 ] ) ) ,
1654
1654
column_name : "f" ,
1655
- check : Check :: RowGroup ,
1655
+ check : Check :: Both ,
1656
1656
}
1657
1657
. run ( ) ;
1658
1658
}
@@ -1741,7 +1741,7 @@ async fn test_dictionary() {
1741
1741
expected_null_counts : UInt64Array :: from ( vec ! [ 1 , 0 ] ) ,
1742
1742
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1743
1743
column_name : "string_dict_i8" ,
1744
- check : Check :: RowGroup ,
1744
+ check : Check :: Both ,
1745
1745
}
1746
1746
. run ( ) ;
1747
1747
@@ -1763,7 +1763,7 @@ async fn test_dictionary() {
1763
1763
expected_null_counts : UInt64Array :: from ( vec ! [ 1 , 0 ] ) ,
1764
1764
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1765
1765
column_name : "int_dict_i8" ,
1766
- check : Check :: RowGroup ,
1766
+ check : Check :: Both ,
1767
1767
}
1768
1768
. run ( ) ;
1769
1769
}
@@ -1915,7 +1915,7 @@ async fn test_period_in_column_names() {
1915
1915
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 , 0 ] ) ,
1916
1916
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 5 , 5 ] ) ) ,
1917
1917
column_name : "name" ,
1918
- check : Check :: RowGroup ,
1918
+ check : Check :: Both ,
1919
1919
}
1920
1920
. run ( ) ;
1921
1921
@@ -1929,7 +1929,7 @@ async fn test_period_in_column_names() {
1929
1929
expected_null_counts : UInt64Array :: from ( vec ! [ 0 , 0 , 0 ] ) ,
1930
1930
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 5 , 5 ] ) ) ,
1931
1931
column_name : "service.name" ,
1932
- check : Check :: RowGroup ,
1932
+ check : Check :: Both ,
1933
1933
}
1934
1934
. run ( ) ;
1935
1935
}
@@ -2041,7 +2041,7 @@ async fn test_missing_statistics() {
2041
2041
expected_null_counts : UInt64Array :: from ( vec ! [ None ] ) ,
2042
2042
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 3 ] ) ) , // still has row count statistics
2043
2043
column_name : "i64" ,
2044
- check : Check :: RowGroup ,
2044
+ check : Check :: Both ,
2045
2045
}
2046
2046
. run ( ) ;
2047
2047
}
@@ -2063,7 +2063,7 @@ async fn test_column_not_found() {
2063
2063
expected_null_counts : UInt64Array :: from ( vec ! [ 2 , 2 ] ) ,
2064
2064
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 13 , 7 ] ) ) ,
2065
2065
column_name : "not_a_column" ,
2066
- check : Check :: RowGroup ,
2066
+ check : Check :: Both ,
2067
2067
}
2068
2068
. run_col_not_found ( ) ;
2069
2069
}
0 commit comments