You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by GitBox <gi...@apache.org> on 2023/01/02 14:24:12 UTC
[GitHub] [arrow] lidavidm opened a new issue, #15150: [C++][FlightRPC] DoAction cannot be fully streaming
lidavidm opened a new issue, #15150:
URL: https://github.com/apache/arrow/issues/15150
As noted by Kou, existing applications/tests may assume that DoAction is not actually a streaming call.
> This might break `wheel-macos-big-sur-*`. For example: https://github.com/ursacomputing/crossbow/actions/runs/3815472986/jobs/6490471956#step:11:435
```text
=================================== FAILURES ===================================
_________________________ test_none_action_side_effect _________________________
def test_none_action_side_effect():
"""Ensure that actions are executed even when we don't consume iterator.
See https://issues.apache.org/jira/browse/ARROW-14255
"""
with ActionNoneFlightServer() as server, \
FlightClient(('localhost', server.port)) as client:
client.do_action(flight.Action("append", b""))
r = client.do_action(flight.Action("get_value", b""))
> assert json.loads(next(r).body.to_pybytes()) == [True]
E assert [] == [True]
E Right contains one more item: True
E Full diff:
E - [True]
E + []
test-arm64-env/lib/python3.10/site-packages/pyarrow/tests/test_flight.py:2132: AssertionError
----------------------------- Captured stderr call -----------------------------
/Users/voltrondata/github-actions-runner/_work/crossbow/crossbow/arrow/cpp/src/arrow/status.cc:137: DoAction result was not fully consumed: Cancelled: Flight cancelled call, with message: CANCELLED. Detail: Cancelled
```
_Originally posted by @kou in https://github.com/apache/arrow/issues/15118#issuecomment-1368377678_
--
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] kou closed issue #15150: [C++][FlightRPC] DoAction cannot be fully streaming
Posted by GitBox <gi...@apache.org>.
kou closed issue #15150: [C++][FlightRPC] DoAction cannot be fully streaming
URL: https://github.com/apache/arrow/issues/15150
--
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
For queries about this service, please contact Infrastructure at:
users@infra.apache.org