-
Notifications
You must be signed in to change notification settings - Fork 234
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
Make delta-lake shim dependencies parametrizable [databricks] #11697
Make delta-lake shim dependencies parametrizable [databricks] #11697
Conversation
Signed-off-by: Gera Shegalov <[email protected]>
- cleanup aggregator Signed-off-by: Gera Shegalov <[email protected]>
- create a parametrizable delta-lake dependency - use profiles only to add extra delta-lake dependencies Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
build |
Signed-off-by: Gera Shegalov <[email protected]>
build |
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.
Nice code reduction. My main concern with this change is that it makes it easy to accidentally drop Delta Lake support since it defaults to the stub. Stub should be the exception, not the norm, but this makes it "work" when someone forgets to set it. I'd rather see the build fail if the Delta Lake version was not explicitly set so it's a conscious decision to use the stub and not a case of oversight or accidental merge conflict. For example, if we don't reconcile this with #11692 then the 3.4.4 shim will silently drop Delta Lake support without the build complaining. That's not ideal.
Added a check for a proper override
|
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
build |
build |
3 similar comments
build |
build |
build |
|
Signed-off-by: Gera Shegalov <[email protected]>
…opAggregatorProfiles
build |
Introduce properties in the parent pom that Spark shim profiles can override to specify the set of delta-lake shims for a particular Spark shim.
Add a single reusable array of delta-lake shim dependencies in the aggregator pom. Relies on Maven deduping dependencies.
Drop a verbose mirror of the Spark release profiles from the aggregator pom
Fix ./build/make-scala-version-build-files.sh that currently can silently fail without fully processing poms
Context #11692 (comment)