-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delta: Fix integration tests and Create DataFile by partition values instead of path #8398
Delta: Fix integration tests and Create DataFile by partition values instead of path #8398
Conversation
public TestSnapshotDeltaLakeTable( | ||
String catalogName, String implementation, Map<String, String> config) { | ||
super(catalogName, implementation, config); | ||
public TestSnapshotDeltaLakeTable() { | ||
super(icebergCatalogName, SparkCatalog.class.getName(), config); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Junit5 cannot parametrize class creation. Since we only have one set of parameters in junit4 version, I think we can directly feed them into super class.
@@ -608,6 +608,7 @@ project(':iceberg-delta-lake') { | |||
} | |||
|
|||
task integrationTest(type: Test) { | |||
useJUnitPlatform() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current master branch skips all the integration tests when running delta-lake CI. Seems we also need useJUnitPlatform()
here when defining Junit5 integration test task.
@jackye1995 Could you please review this when you have a moment. Thanks in advance! |
Most looks good to me, CI seems to fail with unrelated issue, try to retrigger |
CI seems to be passing now after retry. Given the fact that this issue was breaking CI, I will go ahead to merge it directly. Thanks for the fix! |
withPartitionValues
introduced in Core, Spark: Fix migrate table in case of partitioned table with partition containing a special character #7744