nastra commented on code in PR #9341: URL: https://github.com/apache/iceberg/pull/9341#discussion_r1434218017
########## spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/source/TestDataFrameWrites.java: ########## @@ -343,7 +343,7 @@ public void testNullableWithSparkSqlOption() throws IOException { .as("Spark 3 rejects writing nulls to a required column") .startsWith("2"); - File location = new File(new File(temp.toFile(), "parquet"), "test"); + File location = new File(temp.resolve("parquet").toFile(), "test"); Review Comment: you should be able to chain the `resolve()` calls, similar to https://github.com/apache/iceberg/blob/5e0e5e39fa8110b3e9c01e1b7994c575a8dde8ba/flink/v1.17/flink/src/test/java/org/apache/iceberg/flink/TestFlinkAnonymousTable.java#L61 -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org