alamb opened a new issue, #1911: URL: https://github.com/apache/arrow-rs/issues/1911
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** I want to write code to fetch the value of a dictionary array regardless of the type of its key (like https://github.com/apache/arrow-datafusion/pull/2721#discussion_r901091846) A way to get the key as `usize` would be super helpful -- see https://github.com/apache/arrow-datafusion/blob/080c32400ddfa2d45b5bebb820184eac8fd5a03a/datafusion/common/src/scalar.rs#L342-L358 for how it has to be done today **Describe the solution you'd like** I would like a way to get the key at index `i` as a `usize` **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org