nastra commented on code in PR #13590:
URL: https://github.com/apache/iceberg/pull/13590#discussion_r2218443552
##########
data/src/test/java/org/apache/iceberg/data/orc/TestOrcDataWriter.java:
##########
@@ -70,7 +70,8 @@ public void createRecords() {
@Test
public void testDataWriter() throws IOException {
- OutputFile file = Files.localOutput(File.createTempFile("junit", null,
tempDir));
+ OutputFile file =
+ Files.localOutput(tempDir.toPath().resolve("junit" +
System.nanoTime()).toFile());
Review Comment:
this one also converts from File to Path to File
--
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]