LuciferYang commented on PR #59545: URL: https://github.com/apache/spark/pull/59545#issuecomment-6724113879
Thanks for the review. On the two questions: - Copied rows: I'd keep checking them in this PR. Skipping the `COPY_OPERATION` rows would change what every CHECK constraint enforces in a group-based operation, including a CREATE TABLE constraint that reads no current value. SPARK-60453 already lists whether copied rows need checking and whether such a constraint should be VALID, and the migration guide entry describes the cost. - Writer settings: I kept the per-writer reading, which a CREATE TABLE constraint without a predicate already has, and left a fixed reading through `StoredExpressionText` to SPARK-60453, since it would also change how those constraints are read. In c0196346f6c the migration guide entry says that a setting such as `spark.sql.ansi.enforceReservedKeywords`, which reserves `TIME`, or `spark.sql.ansi.doubleQuotedIdentifiers` can make a write fail to parse the text or read it differently, and the sentence about conditions stored as before now covers only the ones Spark detects. The description lists `spark.sql.ansi.enforceReservedKeywords` with the other settings and the exempted conditions with SPARK-61194. -- 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]
