kbendick commented on issue #4849:
URL: https://github.com/apache/iceberg/issues/4849#issuecomment-1138192430

   Thanks for reporting this @schatterjee10.
   
   I’d be open to a quick demo PR, but I do worry about trying to be very 
“smart” with casting rules. We do allow for “incompatible” schema updates to be 
made, but this would require casting the data afaik and `mergeSchema` should 
really err on the side of caution in my opinion.
   
   That said, if you have a sample draft POC to show this is possible, I think 
we’d be willing to take a look to consider it. Again though, to be really 
correct the data should be stored in the files as long (in my opinion) and 
should likely be casted.
   
   But I will admit I’m not super familiar with this code so if it can be 
easily resolved, feel free to present it or discuss it. But in general, I’m 
hesitant about overriding the built in rules about dangerous casting. 
Eventually, I worry it will come back to bite us.
   
   I’m just one person so others might disagree, but that’s my 2 cents fwiw. 


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