Github user tdas commented on the pull request:

    https://github.com/apache/spark/pull/13342#issuecomment-222037191
  
    Its fine that we dont implement it in 2.0, it would be nice to have a 
abstract idea how it can be done. Ideally, the python way and the scala/java 
way should look similar. 
    
    Possible solution 1: Python will also have a class ForeachWriter, and a 
Java wrapper ForeachWriter will call the Python ForeachWriter.
    Possible solution 2: Similar to udfs, some of the registration by name, 
where Java writer can be registered and referred to from Python. 
    
    
    



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