Arun sethia created SPARK-48674:
-----------------------------------

             Summary: Refactor SparkConnect Service to extracted error handling 
functions to trait
                 Key: SPARK-48674
                 URL: https://issues.apache.org/jira/browse/SPARK-48674
             Project: Spark
          Issue Type: Improvement
          Components: Connect
    Affects Versions: 3.4.3, 3.5.1, 3.5.0, 3.4.1, 3.4.0, 3.4.2
            Reporter: Arun sethia


Since SparkConnect gRPC server can have multiple services (addService function 
on NettyServerBuilder) and these functions can be reused across services, 
specially when we would like to extend sparkconnect with various services.

We can extract error handling functions from SparkConnectService to a trait, 
that will increase code reusability. By doing this we can reuse these functions 
across multiple service implementations. Since we can add multiple Bindable 
service handlers to SparkConnect gRPC server it will be easy to use such common 
functions to handle errors and exceptions.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to