nastra commented on code in PR #9341: URL: https://github.com/apache/iceberg/pull/9341#discussion_r1434205224
########## 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: it was throwing an error before because `temp` was not initialized, because it is only initialized when the test is a JUnit5 test (using `org.junit.jupiter.api.Test`) -- 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