nastra commented on code in PR #9341: URL: https://github.com/apache/iceberg/pull/9341#discussion_r1434195782
########## spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/source/TestAvroScan.java: ########## @@ -68,7 +68,7 @@ public static void stopSpark() { @Override protected void writeAndValidate(Schema schema) throws IOException { - File parent = temp.newFolder("avro"); + File parent = new File(temp.toFile(), "avro"); Review Comment: ```suggestion File parent =temp.resolve("avro").toFile(); ``` ########## spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/source/TestAvroScan.java: ########## @@ -68,7 +68,7 @@ public static void stopSpark() { @Override protected void writeAndValidate(Schema schema) throws IOException { - File parent = temp.newFolder("avro"); + File parent = new File(temp.toFile(), "avro"); Review Comment: ```suggestion File parent = temp.resolve("avro").toFile(); ``` -- 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