HyukjinKwon opened a new pull request, #38132:
URL: https://github.com/apache/spark/pull/38132

   ### What changes were proposed in this pull request?
   
   This PR makes the following dependencies shaded:
   
   ```
   com.google.android:annotations
   com.google.api.grpc:proto-google-common-proto
   io.perfmark:perfmark-api
   org.codehaus.mojo:animal-sniffer-annotations
   com.google.errorprone:error_prone_annotations
   com.google.j2objc:j2objc-annotations
   ```
   
   Before https://github.com/apache/spark/pull/38109, it worked because related 
dependences pulled together but now we don't as Spark Connect would be a single 
jar. This issue has existed from the very first place.
   
   ### Why are the changes needed?
   
   Otherwise, the tests fails if you build Spark Connect with Maven. SBT does 
not have the issue because it does the assemply with all dependencies.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, the codes are not released out yet.
   
   ### How was this patch tested?
   
   Manually tested via Maven:
   
   ```bash
   ./build/mvn clean package
   ./python/run-tests --testnames 'pyspark.sql.tests.test_connect_basic'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to