linyanghao commented on issue #5631: URL: https://github.com/apache/iceberg/issues/5631#issuecomment-1288361002
> @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. Thanks for pointing out the issue. I will bring up a discussion when I have some thoughts on it. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org