nastra commented on code in PR #14226:
URL: https://github.com/apache/iceberg/pull/14226#discussion_r2409705850
##########
spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/actions/TestRewriteTablePathsAction.java:
##########
@@ -111,10 +114,23 @@ protected ActionsProvider actions() {
@BeforeEach
public void setupTableLocation() {
this.tableLocation = tableDir.toFile().toURI().toString();
- this.table = createATableWith2Snapshots(tableLocation);
createNameSpaces();
}
+ protected void setupTable() {
+ this.table = createATableWith2Snapshots(tableLocation);
+ }
+
+ protected void setupTableWithFormatVersion(int version) {
+ this.table = createTableWithSnapshots(tableLocation, 2,
getPropertiesMap(version));
+ }
+
+ private @NotNull Map<String, String> getPropertiesMap(int version) {
Review Comment:
```suggestion
private Map<String, String> properties(int formatVersion) {
```
--
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]