Takuya Ueshin created SPARK-27240: ------------------------------------- Summary: Use pandas DataFrame for struct type argument in Scalar Pandas UDF. Key: SPARK-27240 URL: https://issues.apache.org/jira/browse/SPARK-27240 Project: Spark Issue Type: Improvement Components: PySpark Affects Versions: 2.4.0 Reporter: Takuya Ueshin
Now that we support returning pandas DataFrame for struct type in Scalar Pandas UDF. If we chain another Pandas UDF after the Scalar Pandas UDF returning pandas DataFrame, the argument of the chained UDF will be pandas DataFrame, but currently we don't support pandas DataFrame as an argument of Scalar Pandas UDF. That means there is an inconsistency between the chained UDF and the single UDF. We should support taking pandas DataFrame for struct type argument in Scala Pandas UDF to be consistent. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org