adamreeve commented on code in PR #21603:
URL: https://github.com/apache/datafusion/pull/21603#discussion_r3083240685
##########
datafusion/common/src/config.rs:
##########
@@ -3024,8 +3024,18 @@ impl From<ConfigFileDecryptionProperties> for
FileDecryptionProperties {
}
#[cfg(feature = "parquet_encryption")]
-impl From<&Arc<FileDecryptionProperties>> for ConfigFileDecryptionProperties {
- fn from(f: &Arc<FileDecryptionProperties>) -> Self {
+impl TryFrom<&Arc<FileDecryptionProperties>> for
ConfigFileDecryptionProperties {
+ type Error = DataFusionError;
+
+ fn try_from(f: &Arc<FileDecryptionProperties>) -> Result<Self> {
+ let footer_key = f.footer_key(None).map_err(|e| {
Review Comment:
I've opened a follow-up Datafusion issue at #21634 and an arrow-rs issue at
https://github.com/apache/arrow-rs/issues/9721, and will implement the arrow-rs
change soon.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]