Ilhan-Personal commented on code in PR #27825:
URL: https://github.com/apache/datafusion/pull/27825#discussion_r4727283870


##########
datafusion/datasource-parquet/src/file_format.rs:
##########
@@ -101,7 +101,7 @@ impl FileFormatFactory for ParquetFormatFactory {
             Some(parquet_options) => {
                 let mut parquet_options = parquet_options.clone();
                 for (k, v) in format_options {
-                    parquet_options.set(k, v)?;
+                    
parquet_options.set(k.strip_prefix("format.").unwrap_or(k), v)?;

Review Comment:
   I couldn't find an existing constant to reuse here 
   
   the SQL planner builds keys with format!("format.{key}") so I'm just 
following existing convention



-- 
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]

Reply via email to