timsaucer opened a new issue, #15565: URL: https://github.com/apache/datafusion/issues/15565
### Describe the bug When you use an FFI Table Provider, we create a session context by parsing a string representation of a session config. This happens in [this line](https://github.com/apache/datafusion/blob/main/datafusion/ffi/src/table_provider.rs#L237). The problem is this is setting a deprecated option `enable_options_value_normalization` to the same value it already has. This generates a warning even though we aren't actually changing the value. [This line](https://github.com/apache/datafusion/blob/main/datafusion/common/src/config.rs#L152) is where we generate the warning. This warning is erroneous and confusing to the user. ### To Reproduce Create a config. Set this value to the same as it already has. Warning will be generated. ### Expected behavior We probably *do* want the warning any time a user tries to set the variable, even if to the default. So instead what we may want to do is when creating a session config from a hash table of key/value pairs remove any that are not the same as the defaults. ### Additional context _No response_ -- 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.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