@@ -103,9 +103,11 @@ impl Args {
103
103
Index :: INT96 ( v) => print_index ( & v. indexes , offset_index, & row_counts) ?,
104
104
Index :: FLOAT ( v) => print_index ( & v. indexes , offset_index, & row_counts) ?,
105
105
Index :: DOUBLE ( v) => print_index ( & v. indexes , offset_index, & row_counts) ?,
106
- Index :: BYTE_ARRAY ( _) => println ! ( "BYTE_ARRAY not supported" ) ,
107
- Index :: FIXED_LEN_BYTE_ARRAY ( _) => {
108
- println ! ( "FIXED_LEN_BYTE_ARRAY not supported" )
106
+ Index :: BYTE_ARRAY ( v) => {
107
+ print_index ( & v. indexes , offset_index, & row_counts) ?
108
+ }
109
+ Index :: FIXED_LEN_BYTE_ARRAY ( v) => {
110
+ print_index ( & v. indexes , offset_index, & row_counts) ?
109
111
}
110
112
}
111
113
}
@@ -130,7 +132,7 @@ fn compute_row_counts(offset_index: &[PageLocation], rows: i64) -> Vec<i64> {
130
132
}
131
133
132
134
/// Prints index information for a single column chunk
133
- fn print_index < T : std:: fmt:: Display > (
135
+ fn print_index < T : std:: fmt:: Debug > (
134
136
column_index : & [ PageIndex < T > ] ,
135
137
offset_index : & [ PageLocation ] ,
136
138
row_counts : & [ i64 ] ,
@@ -154,12 +156,12 @@ fn print_index<T: std::fmt::Display>(
154
156
idx, o. offset, o. compressed_page_size, row_count
155
157
) ;
156
158
match & c. min {
157
- Some ( m) => print ! ( ", min {:>10}" , m) ,
159
+ Some ( m) => print ! ( ", min {:>10? }" , m) ,
158
160
None => print ! ( ", min {:>10}" , "NONE" ) ,
159
161
}
160
162
161
163
match & c. max {
162
- Some ( m) => print ! ( ", max {:>10}" , m) ,
164
+ Some ( m) => print ! ( ", max {:>10? }" , m) ,
163
165
None => print ! ( ", max {:>10}" , "NONE" ) ,
164
166
}
165
167
println ! ( )
0 commit comments