NoahKusaba opened a new issue, #2905:
URL: https://github.com/apache/iceberg-rust/issues/2905

   ### Apache Iceberg Rust version
   
   None
   
   ### Describe the bug
   
   Schema updates don't create snapshots. So after ADD COLUMN with no write 
since, the current snapshot still references the older schema — and scanning 
the current state used it:
   
   // table (id, name) with a row written, then a column added
   table.scan().select(["email"]).build()  // Err: Column email not found in 
table
   table.scan().select_all().build()       // silently returns only (id, name)
   
   email is a real column on the table, but invisible to the scan. Any 
subsequent write hides the problem, which is why it went unnoticed.
   
   ### To Reproduce
   
   for an existing table, add a column, then try to read from that column 
(error) 
   
   ### Expected behavior
   
   Should return column with null 
   
   ### Willingness to contribute
   
   I can contribute a fix for this bug independently


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