aokolnychyi commented on code in PR #6371: URL: https://github.com/apache/iceberg/pull/6371#discussion_r1041609274
########## spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/Spark3Util.java: ########## @@ -255,74 +256,90 @@ public static org.apache.iceberg.Table toIcebergTable(Table table) { return sparkTable.table(); } + public static Transform[] toTransforms(Schema schema, List<PartitionField> fields) { + SpecTransformToSparkTransform visitor = new SpecTransformToSparkTransform(schema); Review Comment: I pulled the anonymous class below into `SpecTransformToSparkTransform` to reuse here. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org