aokolnychyi commented on code in PR #6309: URL: https://github.com/apache/iceberg/pull/6309#discussion_r1035231519
########## spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/source/SparkScanBuilder.java: ########## @@ -213,40 +215,53 @@ public Scan build() { Schema expectedSchema = schemaWithMetadataColumns(); - TableScan scan = - table - .newScan() - .caseSensitive(caseSensitive) - .filter(filterExpression()) - .project(expectedSchema); + if (startSnapshotId == null) { + BatchScan scan = Review Comment: Funny enough, I did that and then wasn't sure whether I overcomplicate. I can give it another try. -- 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