Description
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.
Attachments
Issue Links
- relates to
-
SPARK-23836 Support returning StructType to the level support in GroupedMap Arrow's "scalar" UDFS (or similar)
- Resolved
- links to