aokolnychyi opened a new pull request, #10310: URL: https://github.com/apache/iceberg/pull/10310
This PR adds support for parsing camel case session configs and options. Our keys contain `-` but all built-in Spark configs follow the camel case style. Apart from the inconsistency, setting Iceberg SQL configs requires escaping the keys, which makes it confusing for the users. The following statement throws an error and requires the user to manually deal with `-`. ``` SET spark.sql.iceberg.planning.preserve-data-grouping = false ``` After this change, users will be able to set SQL properties and options either using `-` or camel case. ``` SET spark.sql.iceberg.planning.preserveDataGrouping = false SET `spark.sql.iceberg.planning.preserveDataGrouping` = false ``` -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org