You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2022/06/07 12:06:00 UTC

[jira] [Commented] (ARROW-16769) [C++] Add Status::Warn()

    [ https://issues.apache.org/jira/browse/ARROW-16769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550961#comment-17550961 ] 

David Li commented on ARROW-16769:
----------------------------------

This would also be useful with the new RecordBatchReader::Close, cc [~vibhatha] / [~westonpace] 

> [C++] Add Status::Warn()
> ------------------------
>
>                 Key: ARROW-16769
>                 URL: https://issues.apache.org/jira/browse/ARROW-16769
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Antoine Pitrou
>            Priority: Minor
>              Labels: good-first-issue
>             Fix For: 9.0.0
>
>
> We currently have {{Status::Abort()}} which gives an easy way to abort the process with a meaningful message and detail.
> We should similarly add {{Status::Warn()}} that would simply print a warning message of the error. Possible example use at https://github.com/apache/arrow/pull/13315/files#diff-1256864b34a1b43082596ab5b16881702881ad06be8e1c157b47e1e6ac9ff5d2R160-R164 (together with {{StatusFromErrno}}).



--
This message was sent by Atlassian Jira
(v8.20.7#820007)