Skip to content

Remove trino-testing dependency on trino-exchange#11311

Closed
findepi wants to merge 2 commits intotrinodb:masterfrom
findepi:findepi/un-exchange
Closed

Remove trino-testing dependency on trino-exchange#11311
findepi wants to merge 2 commits intotrinodb:masterfrom
findepi:findepi/un-exchange

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Mar 3, 2022

trino-exchange has lots of dependencies, and trino-testing is used
in all modules. This causes classpath conflicts which were not detected
because maven dependency checker was not being run (fixed in airbase
122).

This commit adds a bit of code duplication, but reduces dependencies.

@findepi findepi force-pushed the findepi/un-exchange branch from f883956 to 4a5c8ec Compare March 3, 2022 16:56
@findepi findepi requested review from losipiuk and nineinchnick March 3, 2022 16:57
`trino-exchange` has lots of dependencies, and `trino-testing` is used
in all modules. This causes classpath conflicts which were not detected
because maven dependency checker was not being run (fixed in airbase
122).

This commit adds a bit of code duplication, but reduces dependencies.
@findepi findepi force-pushed the findepi/un-exchange branch from 4a5c8ec to c52b683 Compare March 3, 2022 22:23
@findepi
Copy link
Copy Markdown
Member Author

findepi commented Mar 3, 2022

That was nice, but didn't work. The exchange plugin needs to be installed before tables are provisioned, so typically during QueryRunner construction. I changed approach a bit. Less pretty, but should at least work.

PTAL

@findepi
Copy link
Copy Markdown
Member Author

findepi commented Mar 4, 2022

Incorporated into #11309

@findepi findepi closed this Mar 4, 2022
@findepi findepi deleted the findepi/un-exchange branch March 4, 2022 09:28
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.

4 participants