Skip to content

Commit d3f2020

Browse files
committed
Add section to upgrade guide
1 parent 6d380a1 commit d3f2020

File tree

1 file changed

+18
-0
lines changed
  • docs/source/library-user-guide/upgrading

1 file changed

+18
-0
lines changed

docs/source/library-user-guide/upgrading/54.0.0.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,3 +438,21 @@ clusters (e.g., ZWJ emoji sequences). For ASCII and most common Unicode text,
438438
behavior is unchanged.
439439

440440
[#17861]: https://github.com/apache/datafusion/pull/17861
441+
442+
### Conversion from `FileDecryptionProperties` to `ConfigFileDecryptionProperties` is now fallible.
443+
444+
Previously, `ConfigFileDecryptionProperties` implemented `From<&Arc<FileDecryptionProperties>>`,
445+
and if an error was encountered when retrieving the footer key without providing key metadata,
446+
the error would be ignored and an empty footer key set in the result.
447+
This could lead to obscure errors later.
448+
449+
`ConfigFileDecryptionProperties` now instead implements `TryFrom<&Arc<FileDecryptionProperties>>`,
450+
and errors retrieving the footer key will be propagated up.
451+
452+
Code that uses `ConfigFileDecryptionProperties::from(&Arc<FileDecryptionProperties>)`
453+
should be updated to use `try_from`,
454+
and calls to `FileDecryptionProperties::into` should be changed to `try_into`,
455+
with appropriate error handling added.
456+
457+
See [#21602](https://github.com/apache/datafusion/issues/21602) and
458+
[PR #21603](https://github.com/apache/datafusion/pull/21603) for details.

0 commit comments

Comments
 (0)