Skip to content

Commit

Permalink
Add desc
Browse files Browse the repository at this point in the history
  • Loading branch information
longvu-db committed Aug 21, 2024
1 parent df912d0 commit f520d08
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f520d08

Please sign in to comment.