anuragmantri commented on code in PR #3128:
URL: https://github.com/apache/iceberg-rust/pull/3128#discussion_r3993947375


##########
crates/iceberg/src/scan/context.rs:
##########
@@ -50,6 +50,7 @@ pub(crate) struct ManifestFileContext {
     case_sensitive: bool,
     partition_spec: Option<PartitionSpecRef>,
     unified_partition_type: Option<Arc<StructType>>,
+    table_metadata: TableMetadataRef,

Review Comment:
   Done. `PlanContext` now precomputes `sort_orders: Arc<HashMap<i64, 
SortOrderRef>>` once in `TableScanBuilder::build()`, and 
`ManifestFileContext`/`create_manifest_file_context` carry only that map 
instead of the full `TableMetadataRef`, matching the `unified_partition_type` 
pattern.



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