sarutak commented on code in PR #53286:
URL: https://github.com/apache/spark/pull/53286#discussion_r2587251967
##########
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/package.scala:
##########
@@ -115,8 +117,14 @@ package object client {
exclusions =
"org.apache.curator:*" ::
"org.apache.hive:hive-service-rpc" ::
- "org.apache.tez:tez-api" ::
- "org.apache.zookeeper:zookeeper" :: Nil)
+ "org.apache.zookeeper:zookeeper" :: Nil ++
Review Comment:
@yaooqinn
If the flow reaches here, the definition of `Driver` and referred classes by
`Driver` including `DriverContext` are needed to be resolved.
[Some members of
DriverContext](https://github.com/apache/hive/blob/rel/release-4.2.0/ql/src/java/org/apache/hadoop/hive/ql/DriverContext.java)
refer Tez related classes so `tez-api` dependency is necessary.
But in `HiveClientImpl`, `Driver` is used only in `runHive` and this method
is used only for testing, so `tez-api` is needed only for testing too.
--
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]