nastra commented on code in PR #9793:
URL: https://github.com/apache/iceberg/pull/9793#discussion_r1584316540
##########
data/src/test/java/org/apache/iceberg/data/orc/TestGenericReadProjection.java:
##########
@@ -33,7 +33,8 @@ 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 file = File.createTempFile("junit", null, temp);
Review Comment:
```suggestion
File file = File.createTempFile(desc, ".orc", temp);
```
we want to keep the `.orc` suffix here. Also please remove the unnecessary
newline that was added right above this line
--
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]