You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/06/19 12:24:11 UTC

[GitHub] [arrow-rs] alamb opened a new issue, #1911: Add `DictionaryArray::key` function

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-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] tustvold closed issue #1911: Add `DictionaryArray::key` function

Posted by GitBox <gi...@apache.org>.
tustvold closed issue #1911: Add `DictionaryArray::key` function
URL: https://github.com/apache/arrow-rs/issues/1911


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org