aokolnychyi commented on code in PR #10984: URL: https://github.com/apache/iceberg/pull/10984#discussion_r1729600743
########## spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/SparkTableUtil.java: ########## @@ -851,18 +851,29 @@ private static void deleteManifests(FileIO io, List<ManifestFile> manifests) { .run(item -> io.deleteFile(item.path())); } + public static Dataset<Row> loadTable(SparkSession spark, Table table, long snapshotId) { + SparkTable sparkTable = new SparkTable(table, snapshotId, false); + DataSourceV2Relation relation = createRelation(sparkTable, ImmutableMap.of()); Review Comment: We actually bypass the resolution completely and manually create `Dataset` in this case. -- 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