Github user BryanCutler commented on the issue:

    https://github.com/apache/spark/pull/18659
  
    Some comments on the performance above
    
    1)  I used the `ArrowFileWriter` that is currently in the `ArrowSerializer` 
- this carries significant overhead in copying data to temporary buffers before 
transferring.  Using the `ArrowStreamWriter` I was seeing much better 
performance, however it makes significant changes to PythonRunner in PythonRDD. 
 If we move forward with this I can present those changes as well.
    
    2)  This naively transfers data back into a GenericInternalRow - I'm sure 
there is a better way to do this that is probably more efficient, maybe someone 
more familiar with SQL internals can comment  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to