[
https://issues.apache.org/jira/browse/ARROW-4491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661513#comment-17661513
]
Rok Mihevc commented on ARROW-4491:
-----------------------------------
This issue has been migrated to [issue
#21045|https://github.com/apache/arrow/issues/21045] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Python] Remove usage of std::to_string and std::stoi
> -----------------------------------------------------
>
> Key: ARROW-4491
> URL: https://issues.apache.org/jira/browse/ARROW-4491
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Philipp Moritz
> Assignee: Yuhong Guo
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.13.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> Not sure why this is happening, but for some older compilers I'm seeing
> {code:java}
> terminate called after throwing an instance of 'std::invalid_argument'
> what(): stoi{code}
> since
> [https://github.com/apache/arrow/pull/3423|https://github.com/apache/arrow/pull/3423.]
> Possible cause is that there is no int8_t version of
> [https://en.cppreference.com/w/cpp/string/basic_string/to_string|https://en.cppreference.com/w/cpp/string/basic_string/to_string,]
> so it might not convert it to a proper string representation of the number.
> Any insight on why this could be happening is appreciated.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)