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