You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/03/03 18:05:00 UTC
[jira] [Created] (ARROW-11853) [C++] CSV streaming reader doesn't
handle cancellation correctly
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)