Skip to content

Adjust trino-exchange-filesystem excludes#12742

Closed
losipiuk wants to merge 1 commit intotrinodb:masterfrom
losipiuk:lo/bandaid-gcs-dependency-fix
Closed

Adjust trino-exchange-filesystem excludes#12742
losipiuk wants to merge 1 commit intotrinodb:masterfrom
losipiuk:lo/bandaid-gcs-dependency-fix

Conversation

@losipiuk
Copy link
Copy Markdown
Member

@losipiuk losipiuk commented Jun 8, 2022

This commit excludes GCS related dependecies of
trino-exchange-filesystem used as test dependency more aggresively.

Previously the transitive dependencies of trino-exchange-filesystem
creeped into compile scope of modules which included it as test
dependency (trino-hive, trino-iceberg, trino-delta). Some dependencies
were rescoped from compile to test and as result queries were
failing at runtime with NoClassDefFoundError.

See #12674

Related issues, pull requests, and links

Bandaid fix for #12674.

Documentation

( ) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

( ) No release notes entries required.
( ) Release notes entries required with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

This commit excludes GCS related dependecies of
trino-exchange-filesystem used as test dependency more aggresively.

Previously the transitive dependencies of trino-exchange-filesystem
creeped into compile scope of modules which included it as test
dependency (trino-hive, trino-iceberg, trino-delta). Some dependencies
were rescoped from `compile` to `test` and as result queries were
failing at runtime with NoClassDefFoundError.

See trinodb#12674
Copy link
Copy Markdown
Contributor

@arhimondr arhimondr left a comment

Choose a reason for hiding this comment

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

Wow, i would have never though that test scope dependencies can impact compile scope dependencies in any way.

@losipiuk
Copy link
Copy Markdown
Member Author

losipiuk commented Jun 8, 2022

This approach does not work still :/ too aggressive - no classes are missing in tests :(

@losipiuk
Copy link
Copy Markdown
Member Author

losipiuk commented Jun 8, 2022

Closed in favor of #12746

@losipiuk losipiuk closed this Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants