nastra commented on code in PR #10657:
URL: https://github.com/apache/iceberg/pull/10657#discussion_r1670442475
##########
data/src/test/java/org/apache/iceberg/data/TestLocalScan.java:
##########
@@ -556,8 +546,8 @@ public void testFilterWithDateAndTimestamp() throws
IOException {
required(3, "date", Types.DateType.get()),
required(4, "time", Types.TimeType.get()));
- File tableLocation = temp.newFolder("complex_filter_table");
- Assert.assertTrue(tableLocation.delete());
+ File tableLocation = File.createTempFile("junit", null, tempDir);
Review Comment:
this should be created a temp directory rather than a temp 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]