-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Pass-through IcebergIO catalog properties #31726
Changes from 7 commits
9054acb
922633a
018ae1e
e2e0b2e
6963f4e
e9fe5cd
8c25e41
6489591
c42ac29
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"comment": "Modify this file in a trivial way to cause this test suite to run" | ||
"comment": "Modify this file in a trivial way to cause this test suite to run", | ||
"modification": 1 | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,8 @@ import java.util.stream.Collectors | |
plugins { id 'org.apache.beam.module' } | ||
applyJavaNature( | ||
automaticModuleName: 'org.apache.beam.sdk.io.iceberg', | ||
shadowClosure: {}, | ||
validateShadowJar: false, | ||
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. Why false? I think we want to validate it. Otherwise we end up having duplicate classes in multiple jars. Basically we want everything in the jar to be in our namespace, not any other namespace. |
||
) | ||
|
||
description = "Apache Beam :: SDKs :: Java :: IO :: Iceberg" | ||
|
@@ -54,11 +56,12 @@ dependencies { | |
implementation "org.apache.iceberg:iceberg-parquet:$iceberg_version" | ||
implementation "org.apache.iceberg:iceberg-orc:$iceberg_version" | ||
implementation library.java.hadoop_common | ||
// Hadoop GCS filesystem dependencies | ||
runtimeOnly library.java.hadoop_client | ||
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. I think I'm OK with this... it isn't very Java-like to put optional dependencies as mandatory dependencies though. Typically these should also be resolvable via transitive dependencies if we depend on e.g. GCS core which provides the GCS filesystem. |
||
runtimeOnly library.java.bigdataoss_gcsio | ||
runtimeOnly library.java.bigdataoss_gcs_connector | ||
runtimeOnly library.java.bigdataoss_util_hadoop | ||
|
||
testImplementation library.java.hadoop_client | ||
testImplementation library.java.bigdataoss_gcsio | ||
testImplementation library.java.bigdataoss_gcs_connector | ||
testImplementation library.java.bigdataoss_util_hadoop | ||
testImplementation "org.apache.iceberg:iceberg-gcp:$iceberg_version" | ||
testImplementation "org.apache.iceberg:iceberg-data:$iceberg_version" | ||
testImplementation project(path: ":sdks:java:core", configuration: "shadowTest") | ||
|
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.
I'm afraid of this getting changed again. Is it necessarily part of this change? Is it safe now?