You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "bmmcq (via GitHub)" <gi...@apache.org> on 2023/03/17 06:13:19 UTC

[GitHub] [arrow] bmmcq opened a new issue, #34600: [Java] FlightStream: how to check whether data is available in the stream in a nonblocking way;

bmmcq opened a new issue, #34600:
URL: https://github.com/apache/arrow/issues/34600

   ### Describe the usage question you have. Please include as many useful details as  possible.
   
   
   as the title: 
   How to check whether data is available in the stream in a nonblocking way; 
   
   It seems that the FlightStream API only supports fetching data by calling the `next()`  method in blocking; I think a nonblocking method like `tryNext()` should also be needed. 
   
   ### Component(s)
   
   Java


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow] lidavidm commented on issue #34600: [Java] FlightStream: how to check whether data is available in the stream in a nonblocking way;

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #34600:
URL: https://github.com/apache/arrow/issues/34600#issuecomment-1473885974

   Correct, there's not an async API. This has been discussed several times, but it would be a good amount of work to implement. #34221, #21039 are similarish issues - maybe I should file an overarching tracking issue.


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] lidavidm commented on issue #34600: [Java] FlightStream: how to check whether data is available in the stream in a nonblocking way;

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #34600:
URL: https://github.com/apache/arrow/issues/34600#issuecomment-1473916780

   I filed #34607 to try to centralize discussion about async APIs.
   
   That said, it may be possible to add just a `tryNext` as a simple workaround in this case.


-- 
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: github-unsubscribe@arrow.apache.org

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