naveenp2708 commented on PR #57644: URL: https://github.com/apache/spark/pull/57644#issuecomment-6805924078
Thanks @szehon-ho, both good catches. 1: the casing check only ran in materializeTable, so a consumer-only refresh skipped it. Moved it into materializeDatasets so it also catches a target read by a materialized dataset or a persisted view that isn't being refreshed. Same error, just raised up front. Added tests for an MV and a persisted-view consumer. 2: went with union nullability (declared || engine, incl. array containsNull) instead of asNullable, so a declared nested NOT NULL the engine also produces survives and an unchanged declaration no longer churns into the nested-array evolution error. Top-level column stays nullable for omit-parity. One caveat: parity's top-level only now, so dropping a declared nested NOT NULL under stacked arrays still hits the diffSchemas limit; full asNullable would just bring the churn back. Left it as union, can change it if you'd rather. Full pipelines + reserved-column suites pass, scalastyle clean. -- 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]
