You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Philipp Moritz (JIRA)" <ji...@apache.org> on 2019/02/06 03:57:00 UTC

[jira] [Created] (ARROW-4491) [Python] Remove usage of std::to_string and std::stoi

Philipp Moritz created ARROW-4491:
-------------------------------------

             Summary: [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
            Reporter: Philipp Moritz


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
(v7.6.3#76005)