You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Venkata Sai Akhil Gudesa (Jira)" <ji...@apache.org> on 2025/02/13 04:24:00 UTC

[jira] [Created] (SPARK-51192) Expose a ResponseObserver-free version of `process` in SparkConnectPlanner

Venkata Sai Akhil Gudesa created SPARK-51192:
------------------------------------------------

             Summary: Expose a ResponseObserver-free version of `process` in SparkConnectPlanner
                 Key: SPARK-51192
                 URL: https://issues.apache.org/jira/browse/SPARK-51192
             Project: Spark
          Issue Type: Improvement
          Components: Connect
    Affects Versions: 4.0.0
            Reporter: Venkata Sai Akhil Gudesa


[https://github.com/apache/spark/pull/47816] attempted to move `MockObserver` into source code to address compilation errors when open-source libraries attempt to test their command plugin extensions via the `SparkConnectPlannerUtils`.

However, this isn't enough as the error `{*}java.lang.NoSuchMethodError: 'void org.apache.spark.sql.connect.planner.SparkConnectPlanner.process(org.apache.spark.connect.proto.Command, io.grpc.stub.StreamObserver`{*} continues to be seen.

To address this shading issue, we can move the creation of the `MockObserver` to the source code.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org