diff --git a/sql/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/MockObserver.scala b/sql/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/MockObserver.scala index 778c81b0cd11b..c1d950cb7fcf4 100644 --- a/sql/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/MockObserver.scala +++ b/sql/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/MockObserver.scala @@ -24,9 +24,12 @@ import org.apache.spark.connect.proto /* * The [[MockObserver]] class is a mock of the [[StreamObserver]] class from the gRPC library, * used for testing the process function of [[SparkConnectPlanner]]. + * * Currently, the [[MockObserver]] class is located in the test folder, * which is not shaded by sbt-assembly, unlike the main folder. - * This results in a compilation error when external libraries call the transform function, + * + * This results in a compilation error when open-source libraries call the + * [[transform(spark: SparkSession, command: proto.Command)]] function in [[SparkConnectPlannerTestUtils]], * which in turn calls [[SparkConnectPlanner(executeHolder).process(command, new MockObserver())]]. * * To resolve this, the [[MockObserver]] class should be moved to the main folder