[ https://issues.apache.org/jira/browse/ARROW-9049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Pitrou closed ARROW-9049. --------------------------------- Resolution: Duplicate This was done in ARROW-7592. > [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 > Priority: Major > > 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.20.1#820001)