nastra commented on code in PR #9613: URL: https://github.com/apache/iceberg/pull/9613#discussion_r1474598148
########## spark/v3.5/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestAddFilesProcedure.java: ########## @@ -199,7 +189,7 @@ public void addAvroFile() throws Exception { GenericRecord record2 = new GenericData.Record(schema); record2.put("id", 2L); record2.put("data", "b"); - File outputFile = temp.newFile("test.avro"); + File outputFile = File.createTempFile("test", ".avro", temp.toFile()); Review Comment: ```suggestion File outputFile = temp.resolve("test.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