@@ -160,7 +160,7 @@ impl BoundPredicateVisitor for ManifestFilterVisitor<'_> {
160
160
Some ( bound_bytes) => {
161
161
let bound = ManifestFilterVisitor :: bytes_to_datum (
162
162
bound_bytes,
163
- reference. field ( ) . field_type . clone ( ) ,
163
+ * reference. field ( ) . field_type . clone ( ) ,
164
164
) ;
165
165
if datum <= & bound {
166
166
ROWS_CANNOT_MATCH
@@ -183,7 +183,7 @@ impl BoundPredicateVisitor for ManifestFilterVisitor<'_> {
183
183
Some ( bound_bytes) => {
184
184
let bound = ManifestFilterVisitor :: bytes_to_datum (
185
185
bound_bytes,
186
- reference. field ( ) . field_type . clone ( ) ,
186
+ * reference. field ( ) . field_type . clone ( ) ,
187
187
) ;
188
188
if datum < & bound {
189
189
ROWS_CANNOT_MATCH
@@ -206,7 +206,7 @@ impl BoundPredicateVisitor for ManifestFilterVisitor<'_> {
206
206
Some ( bound_bytes) => {
207
207
let bound = ManifestFilterVisitor :: bytes_to_datum (
208
208
bound_bytes,
209
- reference. field ( ) . field_type . clone ( ) ,
209
+ * reference. field ( ) . field_type . clone ( ) ,
210
210
) ;
211
211
if datum >= & bound {
212
212
ROWS_CANNOT_MATCH
@@ -229,7 +229,7 @@ impl BoundPredicateVisitor for ManifestFilterVisitor<'_> {
229
229
Some ( bound_bytes) => {
230
230
let bound = ManifestFilterVisitor :: bytes_to_datum (
231
231
bound_bytes,
232
- reference. field ( ) . field_type . clone ( ) ,
232
+ * reference. field ( ) . field_type . clone ( ) ,
233
233
) ;
234
234
if datum > & bound {
235
235
ROWS_CANNOT_MATCH
@@ -256,7 +256,7 @@ impl BoundPredicateVisitor for ManifestFilterVisitor<'_> {
256
256
if let Some ( lower_bound_bytes) = & field. lower_bound {
257
257
let lower_bound = ManifestFilterVisitor :: bytes_to_datum (
258
258
lower_bound_bytes,
259
- reference. field ( ) . field_type . clone ( ) ,
259
+ * reference. field ( ) . field_type . clone ( ) ,
260
260
) ;
261
261
if datum > & lower_bound {
262
262
return ROWS_CANNOT_MATCH ;
@@ -266,7 +266,7 @@ impl BoundPredicateVisitor for ManifestFilterVisitor<'_> {
266
266
if let Some ( upper_bound_bytes) = & field. upper_bound {
267
267
let upper_bound = ManifestFilterVisitor :: bytes_to_datum (
268
268
upper_bound_bytes,
269
- reference. field ( ) . field_type . clone ( ) ,
269
+ * reference. field ( ) . field_type . clone ( ) ,
270
270
) ;
271
271
if datum < & upper_bound {
272
272
return ROWS_CANNOT_MATCH ;
@@ -383,7 +383,7 @@ impl BoundPredicateVisitor for ManifestFilterVisitor<'_> {
383
383
if let Some ( lower_bound) = & field. lower_bound {
384
384
let d = ManifestFilterVisitor :: bytes_to_datum (
385
385
lower_bound,
386
- reference. field ( ) . clone ( ) . field_type ,
386
+ * reference. field ( ) . clone ( ) . field_type ,
387
387
) ;
388
388
if literals. iter ( ) . all ( |datum| & d < datum) {
389
389
return ROWS_CANNOT_MATCH ;
@@ -393,7 +393,7 @@ impl BoundPredicateVisitor for ManifestFilterVisitor<'_> {
393
393
if let Some ( upper_bound) = & field. upper_bound {
394
394
let d = ManifestFilterVisitor :: bytes_to_datum (
395
395
upper_bound,
396
- reference. field ( ) . clone ( ) . field_type ,
396
+ * reference. field ( ) . clone ( ) . field_type ,
397
397
) ;
398
398
if literals. iter ( ) . all ( |datum| & d < datum) {
399
399
return ROWS_CANNOT_MATCH ;
@@ -445,7 +445,7 @@ impl ManifestFilterVisitor<'_> {
445
445
Ok ( bound)
446
446
}
447
447
448
- fn bytes_to_datum < ' a > ( bytes : & ByteBuf , t : Box < Type > ) -> Datum {
448
+ fn bytes_to_datum ( bytes : & ByteBuf , t : Type ) -> Datum {
449
449
let p = t. as_primitive_type ( ) . unwrap ( ) ;
450
450
Datum :: try_from_bytes ( bytes, p. clone ( ) ) . unwrap ( )
451
451
}
0 commit comments