pralabhkumar opened a new pull request #34401:
URL: https://github.com/apache/spark/pull/34401


   ### What changes were proposed in this pull request?
   toPandas will return correct dtype for empty dataframe when arrow enabled
   
   ### Why are the changes needed?
   Currently toPandas for empty dataframe return object as dtype for all the 
element when arrow is enabled . However things works fine when arrow is 
disabled . Therefore this PR will make give the correct dtype when arrow is 
enabled and dataframe is empty  
   
   
   ### Does this PR introduce any user-facing change?
   Yes user will be able to see correct dtype values 
   
   ### How was this patch tested?
   unit 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to