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


##########
data/src/test/java/org/apache/iceberg/data/orc/TestGenericReadProjection.java:
##########
@@ -33,8 +33,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 + ".orc");
-    file.delete();
+    File file = new File(tempDir, desc + ".orc");

Review Comment:
   `File.createTempFile(...)`



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to