Antoine Pitrou created ARROW-11853:
--------------------------------------
Summary: [C++] CSV streaming reader doesn't handle cancellation
correctly
Key: ARROW-11853
URL: https://issues.apache.org/jira/browse/ARROW-11853
Project: Apache Arrow
Issue Type: Bug
Components: C++
Reporter: Antoine Pitrou
When cancellation (e.g. from a signal) happens, the CSV streaming reader will
just hang.
It seems the problem is due to the fact that {{TaskGroup::Append}} will
short-circuit if a cancellation occurred, but {{csv::ColumnDecoder}} doesn't
expect errors from {{TaskGroup}} (instead, it uses futures internally to
communicate those errors).
Incidentally, {{csv::StreamingReader}} never calls {{TaskGroup::Finish}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)