nastra commented on code in PR #10657:
URL: https://github.com/apache/iceberg/pull/10657#discussion_r1668403538
##########
data/src/test/java/org/apache/iceberg/parquet/TestGenericMergingMetrics.java:
##########
@@ -18,25 +18,22 @@
*/
package org.apache.iceberg.parquet;
+import java.io.File;
import java.io.IOException;
import java.util.List;
-import org.apache.iceberg.FileFormat;
+import org.apache.iceberg.Files;
import org.apache.iceberg.TestMergingMetrics;
import org.apache.iceberg.data.GenericAppenderFactory;
import org.apache.iceberg.data.Record;
import org.apache.iceberg.io.FileAppender;
public class TestGenericMergingMetrics extends TestMergingMetrics<Record> {
- public TestGenericMergingMetrics(FileFormat fileFormat) {
- super(fileFormat);
- }
-
@Override
protected FileAppender<Record> writeAndGetAppender(List<Record> records)
throws IOException {
+ File tempFile = File.createTempFile("junit", null, tempDir);
Review Comment:
can be inlined
--
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]