-
Notifications
You must be signed in to change notification settings - Fork 93
chore: bump org.apache.iceberg:iceberg-bom from 1.9.2 to 1.10.0 #7176
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,9 +45,8 @@ dependencies { | |
| // but we need to be able to compile against it to implement AwsClientFactory | ||
| compileOnly libs.awssdk.dynamodb | ||
|
|
||
| // We don't want to explicitly pull in dependencies for KMS (there doesn't seem to be anything in Iceberg that | ||
| // actually calls it?), but we need to be able to compile against it to implement AwsClientFactory | ||
| compileOnly libs.awssdk.kms | ||
| // Needed for AwsClientFactory | ||
| implementation libs.awssdk.kms | ||
|
|
||
| implementation libs.guava | ||
|
|
||
|
|
@@ -64,9 +63,6 @@ dependencies { | |
| testImplementation TestTools.projectDependency(project, 'extensions-s3') | ||
| testImplementation TestTools.projectDependency(project, 'extensions-iceberg') | ||
|
|
||
| // TODO (DH-19508) : Remove this dependency when https://github.com/apache/iceberg/issues/13133 fix is released | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. apache/iceberg#13134 has been released. |
||
| runtimeOnly libs.analyticsaccelerator.s3 | ||
|
|
||
| testRuntimeOnly project(':test-configs') | ||
| testRuntimeOnly project(':log-to-slf4j') | ||
| testRuntimeOnly libs.slf4j.simple | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -272,7 +272,7 @@ public static Table partitionStats(org.apache.iceberg.Table table, Snapshot snap | |
| .add("PositionDeleteFileCount", int.class, PartitionStats::positionDeleteFileCount) | ||
| .add("EqualityDeleteRecordCount", long.class, PartitionStats::equalityDeleteRecordCount) | ||
| .add("EqualityDeleteFileCount", int.class, PartitionStats::equalityDeleteFileCount) | ||
| .add("TotalRecordCount", long.class, PartitionStats::totalRecordCount) | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| .add("TotalRecordCount", long.class, PartitionStats::totalRecords) | ||
| .add("LastUpdatedAt", Instant.class, Explore::lastUpdatedAt) | ||
| .add("LastUpdatedSnapshotId", long.class, PartitionStats::lastUpdatedSnapshotId) | ||
| .view(partitionStats); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -533,53 +533,6 @@ void partitionFieldAgainstNonPrimitiveType() { | |
| } | ||
| } | ||
|
|
||
| @Test | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. apache/iceberg#12887 has been released. |
||
| void partitionFieldContainedWithinList() { | ||
| final Schema schema = new Schema(NestedField.optional(1, "S1", Types.ListType.ofOptional(2, IT))); | ||
| // https://iceberg.apache.org/spec/#partitioning | ||
| // > The source columns ... cannot be contained in a list | ||
| // Iceberg does *not* currently guard against this (may open up a PR later for this) | ||
| final PartitionSpec spec = PartitionSpec.builderFor(schema).identity("S1.element").build(); | ||
| try { | ||
| Resolver.builder() | ||
| .schema(schema) | ||
| .spec(spec) | ||
| .definition(TableDefinition.of( | ||
| ColumnDefinition.ofInt("S1").withPartitioning())) | ||
| .putColumnInstructions("S1", partitionField(spec.fields().get(0).fieldId())) | ||
| .build(); | ||
| failBecauseExceptionWasNotThrown(Resolver.MappingException.class); | ||
| } catch (Resolver.MappingException e) { | ||
| assertThat(e).hasMessageContaining("Unable to map Deephaven column S1"); | ||
| assertThat(e).cause().hasMessageContaining("Partition fields may not be contained in a list"); | ||
| } | ||
| } | ||
|
|
||
| @Test | ||
| void partitionFieldContainedWithinMap() { | ||
| final Schema schema = new Schema(NestedField.optional(1, "S1", Types.MapType.ofOptional(2, 3, IT, IT))); | ||
| // https://iceberg.apache.org/spec/#partitioning | ||
| // > The source columns ... cannot be contained in a map | ||
| // Iceberg does *not* currently guard against this (may open up a PR later for this) | ||
| for (final PartitionSpec spec : List.of( | ||
| PartitionSpec.builderFor(schema).identity("S1.key").build(), | ||
| PartitionSpec.builderFor(schema).identity("S1.value").build())) { | ||
| try { | ||
| Resolver.builder() | ||
| .schema(schema) | ||
| .spec(spec) | ||
| .definition(TableDefinition.of( | ||
| ColumnDefinition.ofInt("S1").withPartitioning())) | ||
| .putColumnInstructions("S1", partitionField(spec.fields().get(0).fieldId())) | ||
| .build(); | ||
| failBecauseExceptionWasNotThrown(Resolver.MappingException.class); | ||
| } catch (Resolver.MappingException e) { | ||
| assertThat(e).hasMessageContaining("Unable to map Deephaven column S1"); | ||
| assertThat(e).cause().hasMessageContaining("Partition fields may not be contained in a map"); | ||
| } | ||
| } | ||
| } | ||
|
|
||
| @Test | ||
| void listType() { | ||
| final Schema schema = new Schema(NestedField.optional(1, "MyListField", Types.ListType.ofOptional(2, IT))); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,7 +6,6 @@ autoservice = "1.1.1" | |
| avro = "1.12.0" | ||
| awssdk = "2.29.52" | ||
| aws-s3-tables-catalog-for-iceberg = "0.1.6" | ||
| analyticsaccelerator = "1.1.0" | ||
| # See dependency matrix for particular gRPC versions at https://github.com/grpc/grpc-java/blob/master/SECURITY.md#netty | ||
| boringssl = "2.0.61.Final" | ||
| calcite = "1.39.0" | ||
|
|
@@ -42,7 +41,7 @@ gwt = "2.12.2" | |
| gwtJetty = "9.4.44.v20210927" | ||
| hadoop = "3.4.1" | ||
| hdrhistogram = "2.2.2" | ||
| iceberg = "1.9.2" | ||
| iceberg = "1.10.0" | ||
| immutables = "2.10.1" | ||
| jackson = "2.19.2" | ||
| jakarta-servlet = "6.0.0" | ||
|
|
@@ -126,9 +125,6 @@ awssdk-sso = { module = "software.amazon.awssdk:sso" } | |
| awssdk-ssooidc = { module = "software.amazon.awssdk:ssooidc" } | ||
| awssdk-netty-nio = { module = "software.amazon.awssdk:netty-nio-client" } | ||
|
|
||
| # TODO (DH-19508) : Remove this dependency when https://github.com/apache/iceberg/issues/13133 fix is released | ||
| analyticsaccelerator-s3 = { module = "software.amazon.s3.analyticsaccelerator:analyticsaccelerator-s3", version.ref = "analyticsaccelerator" } | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. apache/iceberg#13134 has been released. |
||
|
|
||
| s3-tables-catalog-for-iceberg = { module = "software.amazon.s3tables:s3-tables-catalog-for-iceberg", version.ref = "aws-s3-tables-catalog-for-iceberg" } | ||
|
|
||
| boringssl = { module = "io.netty:netty-tcnative-boringssl-static", version.ref = "boringssl" } | ||
|
|
||
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.
Needed for new KMS related properties added in apache/iceberg#13136