joao-parana opened a new issue, #5979:
URL: https://github.com/apache/iceberg/issues/5979
### Query engine
Plain Old Java test
### Question
When I try to compile the ArrowReaderTest.java source separately, this error
occurs:
```java
ArrowReaderTest.java:[786,28] method newFile in class
org.junit.rules.TemporaryFolder cannot be applied to given types;
required: java.lang.String
found: no arguments
```
I'm using this JUnit version:
```xml
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
</dependency>
```
This version of JUnit must not be correct as it does not have the method
with the signature: `newFile();`
```java
import org.junit.rules.TemporaryFolder;
. . .
public final TemporaryFolder temp = new TemporaryFolder();
. . .
private DataFile writeParquetFile(Table table, List<GenericRecord> records)
throws IOException {
. . .
File parquetFile = temp.newFile();
```
Does anyone have any suggestions?
--
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]