corwinjoy commented on code in PR #16351:
URL: https://github.com/apache/datafusion/pull/16351#discussion_r2136715685


##########
datafusion/common/src/config.rs:
##########
@@ -188,6 +195,338 @@ macro_rules! config_namespace {
     }
 }
 
+#[derive(Clone, Default, Debug, PartialEq)]
+pub struct ConfigFileEncryptionProperties {
+    pub encrypt_footer: bool, // default = false
+    pub footer_key_as_hex: String,
+    pub footer_key_metadata_as_hex: String,
+    pub column_keys_as_hex: HashMap<String, String>,
+    pub column_metadata_as_hex: HashMap<String, String>,
+    pub aad_prefix_as_hex: String,
+    pub store_aad_prefix: bool, //  default = false
+}

Review Comment:
   We create a separate Config struct, then use From methods to convert back 
and forth from the underlying parquet `FileEncryptionProperties`.



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to