You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "nastra (via GitHub)" <gi...@apache.org> on 2023/03/02 09:33:06 UTC

[GitHub] [iceberg] nastra commented on issue #6978: Reading as of Snapshot ID fails on Metadata Tables after Iceberg Table Schema Update

nastra commented on issue #6978:
URL: https://github.com/apache/iceberg/issues/6978#issuecomment-1451566878

   I had a look at this and I think I understand what's going on here. Isn't the problem the query itself that we're trying to do?
   In  `sql("SELECT * from %s.files VERSION AS OF %s", tableName, olderSnapshotId )` we're trying to do time-travel on the `FilesTable` but giving it the snapshot ID of the actual table, since `olderSnapshotId` is the snapshot from `tableName`. 
   The error therefore makes sense to me, since the schema of the `FilesTable` didn't evolve, but we're expecting it to return the schema for `olderSnapshotId`.
   


-- 
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-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org