comphead commented on code in PR #3629:
URL: https://github.com/apache/datafusion-comet/pull/3629#discussion_r3046143486


##########
native/core/src/parquet/schema_adapter.rs:
##########
@@ -314,19 +328,40 @@ impl SparkPhysicalExprAdapter {
                         .find(|f| f.name().eq_ignore_ascii_case(col_name))
                 };
 
-                if let (Some(logical_field), Some(physical_field)) = 
(logical_field, physical_field)
+                // Remap the column index to the physical file schema so
+                // downstream evaluation reads the correct column from the

Review Comment:
   this might be a ticket for the future to try to avoid many schema/column 
iterations



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