File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
parquet/src/arrow/arrow_writer Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -4720,11 +4720,10 @@ mod tests {
47204720 let metadata = reader. metadata ( ) ;
47214721 let row_group = & metadata. row_groups ( ) [ 0 ] ;
47224722 let col_meta = & row_group. columns ( ) [ 0 ] ;
4723- let has_dict_encoding = col_meta. encodings ( ) . any ( |e| e == Encoding :: RLE_DICTIONARY ) ;
47244723
47254724 // If dictionary encoding worked, we should see RLE_DICTIONARY encoding
47264725 // and have a dictionary page offset
4727- // let has_dict_encoding = col_meta.encodings().contains(& Encoding::RLE_DICTIONARY);
4726+ let has_dict_encoding = col_meta. encodings ( ) . any ( |e| e == Encoding :: RLE_DICTIONARY ) ;
47284727 let has_dict_page = col_meta. dictionary_page_offset ( ) . is_some ( ) ;
47294728
47304729 // Verify the schema is REE encoded when we read it back
You can’t perform that action at this time.
0 commit comments