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

Siying Dong updated SPARK-50804:
--------------------------------
    Description: 
Right now, if `to_protobuf()` is called with an argument that is not 
StructType, `

scala.MatchError` is thrown, which is confusing to users. We should categorize 
this error.

  was:
Right now, if `to_protobuf()` is called with an argument that is not 
StructType, `

scala.MatchError` is thrown, which is confusing to customers. We should 
categorize this error.


> to_protobuf() should not throw MatchError
> -----------------------------------------
>
>                 Key: SPARK-50804
>                 URL: https://issues.apache.org/jira/browse/SPARK-50804
>             Project: Spark
>          Issue Type: Task
>          Components: Protobuf
>    Affects Versions: 4.0.0
>            Reporter: Siying Dong
>            Priority: Major
>
> Right now, if `to_protobuf()` is called with an argument that is not 
> StructType, `
> scala.MatchError` is thrown, which is confusing to users. We should 
> categorize this error.



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