[ 
https://issues.apache.org/jira/browse/SPARK-55373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herman van Hövell reassigned SPARK-55373:
-----------------------------------------

    Assignee: Alex Khakhlyuk

> Improve noHandlerFoundForExtension error message
> ------------------------------------------------
>
>                 Key: SPARK-55373
>                 URL: https://issues.apache.org/jira/browse/SPARK-55373
>             Project: Spark
>          Issue Type: Bug
>          Components: Connect
>    Affects Versions: 4.1.1
>            Reporter: Alex Khakhlyuk
>            Assignee: Alex Khakhlyuk
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, Spark Connect Planner supports extension fields for Relation, 
> Command, Expression protos. Extensions are processed through handlers. If a 
> handler is not available for a given extension type, the planner will throw 
> this error:
> {code:java}
> org.apache.spark.sql.connect.common.InvalidPlanInput: [INTERNAL_ERROR] No 
> handler found for extension SQLSTATE: XX000 {code}
> This error is not informative enough when debugging. I propose adding 
> extension proto type url to the error message which will make it clear which 
> extension is missing
> {code:java}
> org.apache.spark.sql.connect.common.InvalidPlanInput: [INTERNAL_ERROR] No 
> handler found for extension type: 
> type.googleapis.com/google.protobuf.StringValue SQLSTATE: XX000 {code}



--
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