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

Hyukjin Kwon resolved SPARK-48075.
----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Fixed in https://github.com/apache/spark/pull/46324

> 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
>             Fix For: 4.0.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to