@@ -473,11 +473,11 @@ Now:
4734730 row(s) fetched.
474474```
475475
476- ### Avro API, feature, and decoding changes
476+ ### Avro API, feature, and timestamp decoding changes
477477
478478As part of the Avro reader migration (see [ #17861 ] ), DataFusion now delegates
479- Avro-to-Arrow type decoding to ` arrow-avro ` (aligned with ` arrow-avro ` semantics),
480- and several Avro-related APIs/feature wiring changed:
479+ Avro-to-Arrow type decoding to ` arrow-avro ` , and several Avro-related
480+ APIs/feature wiring changed:
481481
482482- ` DataFusionError::AvroError ` has been removed.
483483- ` From<apache_avro::Error> for DataFusionError ` has been removed.
@@ -487,8 +487,7 @@ and several Avro-related APIs/feature wiring changed:
487487- Cargo feature wiring changed:
488488 - ` datafusion ` crate ` avro ` feature no longer enables ` datafusion-common/avro `
489489 - ` datafusion-proto ` crate ` avro ` feature no longer enables ` datafusion-common/avro `
490- - ** Avro datatype interpretation now follows ` arrow-avro ` behavior.** Notable effects:
491- - Avro ` string ` logical values are read as Arrow ` Binary ` in DataFusion Avro scans
490+ - ** Avro timestamp logical type interpretation changed.** Notable effects:
492491 - Avro ` timestamp-* ` logical types are read as UTC timezone-aware Arrow timestamps
493492 (` Timestamp(..., Some("+00:00")) ` )
494493 - Avro ` local-timestamp-* ` logical types remain timezone-naive
@@ -499,8 +498,7 @@ and several Avro-related APIs/feature wiring changed:
499498- Users matching on ` DataFusionError::AvroError `
500499- Users importing ` datafusion::apache_avro `
501500- Users depending on the old ` datafusion-common/avro ` feature wiring
502- - Users relying on DataFusion-specific Avro decoding behavior (especially ` string `
503- and timestamp logical types)
501+ - Users relying on previous Avro timestamp logical type behavior
504502
505503** Migration guide:**
506504
@@ -509,8 +507,6 @@ and several Avro-related APIs/feature wiring changed:
509507 the current error surface.
510508- If you depend on Avro feature propagation, update Cargo feature expectations:
511509 ` datafusion ` /` datafusion-proto ` ` avro ` no longer enables ` datafusion-common/avro ` .
512- - Review Avro table schemas and add explicit casts where needed for binary-backed
513- string values (for example, ` CAST(binary_col AS VARCHAR) ` ).
514510- Validate timestamp handling where timezone semantics matter:
515511 ` timestamp-* ` is UTC timezone-aware, while ` local-timestamp-* ` is timezone-naive.
516512
0 commit comments