Micah Kornfield created ARROW-9049: -------------------------------------- Summary: [C++] Add a Result<> returning method for for constructing a dictionary Key: ARROW-9049 URL: https://issues.apache.org/jira/browse/ARROW-9049 Project: Apache Arrow Issue Type: Bug Components: C++ Reporter: Micah Kornfield Assignee: Micah Kornfield
Dictionary types require a signed integer index type. Today there is a DCHECK that this is the case in the constructor. When reading data from an unknown source it is possible due to corruption (or user error) that the dictionary index type is not signed. We should add a method that checks for signedness and use that at all system boundaries to validate input data. -- This message was sent by Atlassian Jira (v8.3.4#803005)