rdblue commented on issue #5631:
URL: https://github.com/apache/iceberg/issues/5631#issuecomment-1288161731

   @linyanghao, can you bring this up as a discussion on the dev list?
   
   The reason why we haven't done this is that metadata is not part of SQL and 
is not supported across engines. As a result, operations will drop metadata 
when people expect it to be carried through:
   
   ```sql
   CREATE TABLE copy AS SELECT * FROM original
   ```
   
   Any field metadata in `original` is not present in `copy`. I think that's 
confusing enough that we have so far chosen to not add this "feature" to the 
format.
   
   If we want to change that decision, we'll need to document this in the spec 
and define compatibility rules across spec versions.


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