nastra commented on code in PR #9793:
URL: https://github.com/apache/iceberg/pull/9793#discussion_r1584317050


##########
data/src/test/java/org/apache/iceberg/data/avro/TestGenericReadProjection.java:
##########
@@ -32,7 +32,7 @@ public class TestGenericReadProjection extends 
TestReadProjection {
   @Override
   protected Record writeAndRead(String desc, Schema writeSchema, Schema 
readSchema, Record record)
       throws IOException {
-    File file = temp.newFile(desc + ".avro");
+    File file = File.createTempFile("junit", null, temp);

Review Comment:
   ```suggestion
       File file = File.createTempFile(desc, ".avro", temp);
   ```



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

Reply via email to