File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/datasource/physical_plan/parquet Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -846,6 +846,9 @@ macro_rules! get_data_page_statistics {
846
846
} )
847
847
} ) . flatten( ) . collect:: <Vec <_>>( ) ,
848
848
) ) ) ,
849
+ Some ( DataType :: Dictionary ( _, value_type) ) => {
850
+ [ <$stat_type_prefix: lower _ page_statistics>] ( Some ( value_type) , $iterator)
851
+ } ,
849
852
Some ( DataType :: Timestamp ( unit, timezone) ) => {
850
853
let iter = [ <$stat_type_prefix Int64DataPageStatsIterator >] :: new( $iterator) . flatten( ) ;
851
854
Ok ( match unit {
Original file line number Diff line number Diff line change @@ -1752,7 +1752,7 @@ async fn test_dictionary() {
1752
1752
expected_null_counts : UInt64Array :: from ( vec ! [ 1 , 0 ] ) ,
1753
1753
expected_row_counts : Some ( UInt64Array :: from ( vec ! [ 5 , 2 ] ) ) ,
1754
1754
column_name : "string_dict_i32" ,
1755
- check : Check :: RowGroup ,
1755
+ check : Check :: Both ,
1756
1756
}
1757
1757
. run ( ) ;
1758
1758
You can’t perform that action at this time.
0 commit comments