Skip to content
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

Adjust trino-exchange-filesystem excludes #12742

Closed

Conversation

losipiuk
Copy link
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
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
Member Author

losipiuk commented Jun 8, 2022

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

@losipiuk
Copy link
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