-
Notifications
You must be signed in to change notification settings - Fork 834
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
fix: fix Guava version issue in Azure Synapse and Databricks #1103
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov Report
@@ Coverage Diff @@
## master #1103 +/- ##
=======================================
Coverage 85.71% 85.72%
=======================================
Files 252 252
Lines 11597 11605 +8
Branches 593 599 +6
=======================================
+ Hits 9940 9948 +8
Misses 1657 1657
Continue to review full report at Codecov.
|
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Azure Synapse updated Guava to version 28.0
MoreExecutors.sameExecutorService() are not supported since Guava version >= 18
we should use this method: MoreExecutors.newDirectExecutorService()
but databricks use Guava version < 18, which don't contains MoreExecutors.newDirectExecutorService().
Therefore, I used reflection to load class "MoreExecutor" and try to get the correct Method in different environment with different Guava version.