LuciferYang commented on code in PR #48818:
URL: https://github.com/apache/spark/pull/48818#discussion_r1929774391
##########
sql/connect/shims/src/main/scala/org/apache/spark/shims.scala:
##########
@@ -35,6 +35,7 @@ package sql {
package execution {
class QueryExecution
+ class SparkStrategy
Review Comment:
Through debugging, I discovered the following information:
```
Symbol 'type org.apache.spark.sql.execution.SparkStrategy' is missing from
the classpath.
This symbol is required by 'type org.apache.spark.sql.Strategy'.
Make sure that type SparkStrategy is in your classpath and check for
conflicting dependencies with `-Ylog-classpath`.
A full rebuild may help if 'org.apache.spark.sql.package' was compiled
against an incompatible version of org.apache.spark.sql.execution.
```
It seems that during the `catalyst` module test, the class loading of the
`package object sql` was triggered, and the type
`org.apache.spark.sql.execution.SparkStrategy` needs to be on the classpath.
However, it has two definitions, one in the `connect-shims` module and the
other in the `sql` module, but neither of these modules seems likely to be
present on the classpath ...
--
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]