singhpk234 commented on code in PR #14882:
URL: https://github.com/apache/iceberg/pull/14882#discussion_r2630774273


##########
core/src/main/java/org/apache/iceberg/rest/RESTFileScanTaskParser.java:
##########
@@ -96,13 +97,12 @@ public static FileScanTask fromJson(
 
     Expression filter = null;
     if (jsonNode.has(RESIDUAL_FILTER)) {
-      filter = ExpressionParser.fromJson(jsonNode.get(RESIDUAL_FILTER));
+      filter = ExpressionParser.fromJson(jsonNode.get(RESIDUAL_FILTER), 
spec.schema());

Review Comment:
   this was caught during the execution phase of spark, need to pass schema for 
residual



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