Allison Wang created SPARK-44734: ------------------------------------ Summary: Add documentation for type casting rules in Python UDFs/UDTFs Key: SPARK-44734 URL: https://issues.apache.org/jira/browse/SPARK-44734 Project: Spark Issue Type: Sub-task Components: PySpark Affects Versions: 4.0.0 Reporter: Allison Wang
In addition to type mappings between Spark data types and Python data types, we should add the type casting rules for regular and arrow-optimized Python UDFs/UDTFs. We currently have this table in code: * Arrow: [https://github.com/apache/spark/blob/master/python/pyspark/sql/pandas/functions.py#L311-L329] * Python UDF: [https://github.com/apache/spark/blob/master/python/pyspark/sql/udf.py#L101-L116] We should add a proper documentation page for the type casting rules. -- 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