adiranjan25 commented on PR #19149:
URL: https://github.com/apache/iceberg/pull/19149#issuecomment-7245432980

   Thanks @timothyw553 for the detailed second-round review. I've pushed commit 
`96bdab34f` to address the four additional concerns.
   
   **Changes made:**
   
   1. **Ordinary Spark reads:** Separated snapshot pinning from historical 
schema selection through the `use-snapshot-schema` scan option. Updated Spark 
3.5, 4.0, 4.1 and 4.2 to preserve current-schema behavior for ordinary reads.
   2. **Historical partition-spec conflicts:** Added internal scan-specific 
rebinding without partition-name conflict checks, and deferred REST 
parser-context construction until scan planning.
   3. **REST numeric precision:** Propagated `request.useSnapshotSchema()` to 
server-side scans and added regression coverage for exact FLOAT-to-DOUBLE 
widening across REST planning modes.
   4. **Branch-only snapshots:** Removed the `currentSnapshot() == null` guard 
and added regression coverage for historical scans when main has no snapshot.
   
   I also simplified REST scan-state handling, removed the duplicate mutable 
schema-selection flag, and kept the new partition-spec helper package-private 
rather than expanding the public API.
   
   **Final local validation:**
   - Core schema evolution: 35 passed, 4 skipped
   - Core REST planning: 92 passed, 1 skipped
   - Spark 3.5, 4.0, 4.1 and 4.2: 37 passed per version
   - Spark 4.0 REST integration: 30 passed
   - **Total: 305 passed, 5 skipped, zero failures or errors**
   - Targeted Spotless, Checkstyle and Git whitespace checks passed
   
   The previous `PartitionUtil` approach and its associated test were removed 
in response to the first review. The Spark grouping assertions remain in place 
across all four versions.
   
   The historical equality-delete regression covers same-spec delete files. 
Cross-spec delete-file behavior has not been independently verified and may 
warrant separate follow-up if needed.
   
   I'd appreciate another review of the updated implementation. Thank you again 
for helping improve the correctness and compatibility of this fix.


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