suhuruli commented on PR #60462: URL: https://github.com/apache/spark/pull/60462#issuecomment-6925299091
Thanks for the careful review. I addressed all five findings: `V2SessionCatalog.alterTable` keeps an untouched comment and collation, the record is written only when the definition declares a property and is removed together with the last one, a declared `comment` is removable while the other reserved keys stay exempt, one shared codec with its own tests replaces the duplicate, and the comments now describe the conditions the code applies. On the rollout question I went with the second option, a migration note and no new configuration. `docs/sql-migration-guide.md` now has a Declarative Pipelines entry under "Upgrading from Spark SQL 4.3 to 4.4" that describes the removal, the run after which it takes effect, the `pipelines.declaredPropertyKeys` property, and that declaring a property again keeps it, and the Python `table_properties` docstrings say that a property removed from the dict is removed from the table. I ran `MaterializeTablesSuite`, `HiveMaterializeTablesSuite`, `AutoCd cAuxiliaryTableSuite`, `JsonStringArrayCodecSuite`, `V2SessionCatalogSuite` and the new `HiveDDLSuite` test, plus scalastyle for sql/core, sql/hive and pipelines and ruff for the Python files. -- 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]
