haiyangsun-db commented on code in PR #59231:
URL: https://github.com/apache/spark/pull/59231#discussion_r4181695703


##########
project/SparkBuild.scala:
##########
@@ -1480,7 +1480,23 @@ object SQL {
     // sql/core uses protoc-jar-maven-plugin which outputs to 
target/generated-sources.
     (Compile / PB.targets) := Seq(
       PB.gens.java -> target.value / "generated-sources"
-    )
+    ),
+    // snowflake-jdbc embeds unshaded Netty 4.1 native libraries under the same
+    // resource names as Spark's 4.2 classifier jars. Netty aborts when the 
bytes
+    // differ and caches that failure for the test JVM. Drop those copies.
+    (Test / fullClasspath) := {

Review Comment:
   
https://github.com/apache/spark/pull/59231/changes#diff-6f545c33f2fcc975200bf208c900a600a593ce6b170180f81e2f93b3efb6cb3e



##########
project/SparkBuild.scala:
##########
@@ -1480,7 +1480,23 @@ object SQL {
     // sql/core uses protoc-jar-maven-plugin which outputs to 
target/generated-sources.
     (Compile / PB.targets) := Seq(
       PB.gens.java -> target.value / "generated-sources"
-    )
+    ),
+    // snowflake-jdbc embeds unshaded Netty 4.1 native libraries under the same
+    // resource names as Spark's 4.2 classifier jars. Netty aborts when the 
bytes
+    // differ and caches that failure for the test JVM. Drop those copies.
+    (Test / fullClasspath) := {

Review Comment:
   
https://github.com/apache/spark/pull/59231/changes#diff-6f545c33f2fcc975200bf208c900a600a593ce6b170180f81e2f93b3efb6cb3e



-- 
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