Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,22 @@ protected RESTCatalog tableCatalog() {
}

@Override
protected boolean requiresNamespaceCreate() {
return true;
}

@Override
protected boolean supportsServerSideRetry() {
return true;
}
protected String viewLocation(String... paths) {
StringBuilder location = new StringBuilder("s3a://test/test-warehouse");
for (String path : paths) {
location.append("/").append(path);
}

@Override
public void completeCreateView() {
// This test case requires https://github.com/apache/iceberg/pull/14653

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We needed to disable completeCreateView, createAndReplaceViewWithLocation, createViewWithCustomMetadataLocation, and updateViewLocation since they hardcoded local file paths, though itests/test-docker uses S3A. Now, it is pluggable, and we can run all tests.

}

@Override
public void createAndReplaceViewWithLocation() {
// This test case requires https://github.com/apache/iceberg/pull/14653
return location.toString();
}

@Override
public void createViewWithCustomMetadataLocation() {
// This test case requires https://github.com/apache/iceberg/pull/14653
protected boolean requiresNamespaceCreate() {
return true;
}

@Override
public void updateViewLocation() {
// This test case requires https://github.com/apache/iceberg/pull/14653
protected boolean supportsServerSideRetry() {
return true;
}
}
Loading