You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "aokolnychyi (via GitHub)" <gi...@apache.org> on 2024/05/10 20:15:18 UTC
[PR] Spark 3.5: Support camel case session configs and options [iceberg]
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Spark 3.5: Support camel case session configs and options [iceberg]
Posted by "aokolnychyi (via GitHub)" <gi...@apache.org>.
aokolnychyi merged PR #10310:
URL: https://github.com/apache/iceberg/pull/10310
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [PR] Spark 3.5: Support camel case session configs and options [iceberg]
Posted by "aokolnychyi (via GitHub)" <gi...@apache.org>.
aokolnychyi commented on PR #10310:
URL: https://github.com/apache/iceberg/pull/10310#issuecomment-2129886572
Thanks, @szehon-ho @advancedxy!
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org