Github user hhbyyh commented on the issue:

    https://github.com/apache/spark/pull/15415
  
    I tried a few different ways to implement the transform. 
https://gist.github.com/hhbyyh/889b88ae2176d1263fdc9dd3e29d1c2d.
    
    The performance actually are similiar, while the current one can maintain 
the original order of the input dataset. I would be glad to see an more 
optimized version.


---
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