naveenp2708 commented on PR #57644: URL: https://github.com/apache/spark/pull/57644#issuecomment-5675316420
@szehon-ho Went with the early rejection. Reconciling at analysis time isn't feasible: an incremental run keeps the existing spelling but a full refresh rewrites it to canonical, and the read path can't tell which run this is. So materializeTable now compares the existing reserved column against what this run resolves, and throws AUTOCDC_INVALID_STATE.RESERVED_METADATA_COLUMN_CASING_DRIFT before the merge, pointing to declare it with the existing casing or full refresh. Added a test for the upper-cased omit case. -- 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]
