aokolnychyi commented on a change in pull request #3456:
URL: https://github.com/apache/iceberg/pull/3456#discussion_r741553752



##########
File path: 
spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/SparkSchemaUtil.java
##########
@@ -299,4 +302,17 @@ public static long estimateSize(StructType tableSchema, 
long totalRecords) {
     }
     return result;
   }
+
+  public static void validateMetadataColumnReferences(Schema tableSchema, 
Schema readSchema) {

Review comment:
       I initially did this for Spark only. It may make sense to move it to 
`DataTableScan` in `core`.




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