nastra opened a new pull request, #19277: URL: https://github.com/apache/iceberg/pull/19277
Iceberg views bind the query output to the view schema by ordinal position. However, after adding a new column to the base table using `FIRST` or `AFTER`, a `SELECT *` view silently returns the values of the wrong columns. I think we should keep binding by ordinal position, but verify that each column still has the name recorded at creation time and fail with a stale-view error otherwise. I also added some tests to Spark 4.2, which expands views natively and binds by name. Fixes #19272 -- 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]
