adiranjan25 commented on issue #19273:
URL: https://github.com/apache/iceberg/issues/19273#issuecomment-7365870718

   Thanks for reporting this issue and providing a clear reproduction.
   
   I'd like to work on this.
   
   Silently replacing historical default values with NULL during table 
migration is a significant data correctness concern, particularly for 
production workloads relying on schema evolution and metadata-only migration.
   
   I plan to:
   
   - Reproduce the issue using the provided Spark 3.5 scenario.
   - Investigate how Spark column default metadata is handled during 
`snapshot`, `migrate`, and `add_files`.
   - Evaluate a compatible solution that preserves historical read semantics or 
explicitly rejects unsupported imports rather than silently changing data 
values.
   - Add regression coverage for affected operations and verify that existing 
import behavior remains unaffected.
   
   I'll share my findings and proposed implementation approach here.
   
   Please let me know if there are any related ongoing efforts or design 
considerations I should account for.


-- 
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]

Reply via email to