You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2024/05/02 05:40:00 UTC

[jira] [Assigned] (SPARK-48075) Enforce type checking in from_avro and to_avro functions

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

Hyukjin Kwon reassigned SPARK-48075:
------------------------------------

    Assignee: Fanyue Xia

> Enforce type checking in from_avro and to_avro functions
> --------------------------------------------------------
>
>                 Key: SPARK-48075
>                 URL: https://issues.apache.org/jira/browse/SPARK-48075
>             Project: Spark
>          Issue Type: Improvement
>          Components: Structured Streaming
>    Affects Versions: 4.0.0
>            Reporter: Fanyue Xia
>            Assignee: Fanyue Xia
>            Priority: Major
>              Labels: pull-request-available
>
> Because types are not enforced in Python, users can pass in all sort of arguments for functions. This could lead to invoking wrong functions in spark connect.
> If we perform type checking for arguments and output sensible errors when the type of arguments passed into the functions don’t match, we can give the user a better user experience



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