pan3793 commented on code in PR #7636:
URL: https://github.com/apache/kyuubi/pull/7636#discussion_r3809773254
##########
externals/kyuubi-spark-sql-engine/pom.xml:
##########
@@ -405,6 +430,17 @@
<pattern>net.bytebuddy</pattern>
<shadedPattern>${kyuubi.shade.packageName}.net.bytebuddy</shadedPattern>
</relocation>
+ <!--
+ Relocate the bundled arrow-compression classes so
that Kyuubi's copy
+ never conflicts with the arrow-compression jar
shipped by Spark 4.1+.
+ The relocated codec classes still resolve the
unrelocated
+ org.apache.arrow.vector.* and
com.github.luben.zstd.* types, which are
Review Comment:
How about checking the existence of `CommonsCompressionFactory` at runtime?
You can refer to the implementation of Spark's `enableHiveSupport`.
--
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]