jzhuge commented on PR #4925: URL: https://github.com/apache/iceberg/pull/4925#issuecomment-1289434209
@wmoustafa Thanks for the valuable questions and feedbacks. Echo your point that it is confusing to store representations in different view versions. I'd suggest this API contract: - Add the main SQL view representation and other dialects in `buildView` API so all are stored in one view version - For a new representation down the road, add a new interface and a new `withXXX` in `buildView` - No need for something like `View.updateRepresentions()`, as `buildView() + replace()` should be enough -- 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