You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jorge Leitão (Jira)" <ji...@apache.org> on 2020/12/27 18:20:00 UTC
[jira] [Resolved] (ARROW-11028) Somewhat pedantic pattern-matches
[ https://issues.apache.org/jira/browse/ARROW-11028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jorge Leitão resolved ARROW-11028.
----------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 9006
[https://github.com/apache/arrow/pull/9006]
> Somewhat pedantic pattern-matches
> ---------------------------------
>
> Key: ARROW-11028
> URL: https://issues.apache.org/jira/browse/ARROW-11028
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Rust
> Reporter: François Garillot
> Assignee: François Garillot
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.0.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Several pattern matches can be rewritten directly using a combinator on either `Option` or `Result`, in a manner similar to [ARROW-7692]. The pattern-match equivalent often takes a lot more real estate ton convey the same meaning, especially since the combinators in question (`flat_map`, `map`, et al.) are defined in the same way across languages (Scala, Python ...).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)