You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2021/09/08 15:02:00 UTC

[jira] [Assigned] (ARROW-9543) [C++] Simplify parsing/conversion utilities

     [ https://issues.apache.org/jira/browse/ARROW-9543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neal Richardson reassigned ARROW-9543:
--------------------------------------

    Assignee:     (was: Ben Kietzman)

> [C++] Simplify parsing/conversion utilities
> -------------------------------------------
>
>                 Key: ARROW-9543
>                 URL: https://issues.apache.org/jira/browse/ARROW-9543
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 0.17.1
>            Reporter: Ben Kietzman
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 6.0.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Various improvement ideas extracted from https://github.com/apache/arrow/pull/7793 , see https://github.com/apache/arrow/commit/740d8132d3220b0bcddde138bd1ab70030e227fd
> - provide a convenience function FormatValue() to complement ParseValue()
> - parameterize both parsing and formatting with the corresponding DataType subclass (for example a formatting or parsing a timestamp requires a TimeUnit and this can be derived from a TimestampType)
> - rename StringConverter and StringFormatter to ParseValueTraits and FormatValueTraits, to emphasize the convenience functions as the preferred interface
> - ParseValue should accept a string_view for simplicity, and an overload should be provided which returns an optional<>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)