ueshin opened a new pull request #24177: Use pandas DataFrame for struct type 
argument in Scalar Pandas UDF.
URL: https://github.com/apache/spark/pull/24177
 
 
   ## What changes were proposed in this pull request?
   
   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.
   
   ## How was this patch tested?
   
   Modified and added some tests.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to