[
https://issues.apache.org/jira/browse/ARROW-9945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Kietzman closed ARROW-9945.
-------------------------------
Resolution: Fixed
> [C++][Dataset] Refactor Expression::Assume to return a Result
> -------------------------------------------------------------
>
> Key: ARROW-9945
> URL: https://issues.apache.org/jira/browse/ARROW-9945
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Affects Versions: 1.0.0
> Reporter: Ben Kietzman
> Assignee: Ben Kietzman
> Priority: Major
> Labels: dataset
> Fix For: 3.0.0
>
>
> Expression::Assume can abort if the two expressions are not valid against a
> single schema. This is not ideal since a schema is not always easily
> available. The method should be able to fail gracefully in the case of a
> best-effort simplification where validation against a schema is not desired.
> https://github.com/apache/arrow/pull/8037#discussion_r475594117
--
This message was sent by Atlassian Jira
(v8.3.4#803005)