You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "haoxins (via GitHub)" <gi...@apache.org> on 2024/08/16 09:28:37 UTC

[I] Proposal: Add `Iter` for `DataFrame` interface [spark-connect-go]

haoxins opened a new issue, #52:
URL: https://github.com/apache/spark-connect-go/issues/52

   Hi,
   As Go 1.23 is released, can we consider adding a method (we can call it `Iter` or others) to `DataFrame` interface?
   
   ```go
   type DataFrame interface {
     ...
     Collect(ctx context.Context) ([]Row, error)
     Iter(ctx context.Context) iter.Seq[Row]
     ...
   }
   ```
   
   This can give users the convenience of working with Go iter.


-- 
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: reviews-unsubscribe@spark.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [I] Proposal: Add `Iter` for `DataFrame` interface [spark-connect-go]

Posted by "grundprinzip (via GitHub)" <gi...@apache.org>.
grundprinzip commented on issue #52:
URL: https://github.com/apache/spark-connect-go/issues/52#issuecomment-2301706587

   I think that is a good proposal. It would be good to spec out the expected behavior single-use vs multi-use and if all of the results are still buffered on the client or should remain on the server.


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [I] Proposal: Add `Iter` for `DataFrame` interface [spark-connect-go]

Posted by "grundprinzip (via GitHub)" <gi...@apache.org>.
grundprinzip commented on issue #52:
URL: https://github.com/apache/spark-connect-go/issues/52#issuecomment-2568758029

   Implemented in #103 


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [I] Proposal: Add `Iter` for `DataFrame` interface [spark-connect-go]

Posted by "haoxins (via GitHub)" <gi...@apache.org>.
haoxins commented on issue #52:
URL: https://github.com/apache/spark-connect-go/issues/52#issuecomment-2301982338

   I can get some free time in the next weeks and will give a more detailed proposal with some implementation drafts.


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [I] Proposal: Add `Iter` for `DataFrame` interface [spark-connect-go]

Posted by "grundprinzip (via GitHub)" <gi...@apache.org>.
grundprinzip closed issue #52: Proposal: Add `Iter` for `DataFrame` interface
URL: https://github.com/apache/spark-connect-go/issues/52


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org