You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2025/01/14 09:43:00 UTC

[jira] [Resolved] (SPARK-50804) to_protobuf() should not throw MatchError

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

Wenchen Fan resolved SPARK-50804.
---------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 49473
[https://github.com/apache/spark/pull/49473]

> 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
>            Assignee: Siying Dong
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org