Rich-T-kid opened a new issue, #9889:
URL: https://github.com/apache/arrow-rs/issues/9889
**Is your feature request related to a problem or challenge? Please describe
what you are trying to do.**
In arrow-string/src/substring.rs:88-90 (inside the substring_dict! macro),
the dictionary fast path rebuilds the result with
[DictionaryArray::try_new](url)
Since the keys are unchanged and the values' length is unchanged (one
substring per dictionary value), this is exactly what
https://docs.rs/arrow-array/latest/arrow_array/array/struct.DictionaryArray.html#method.with_values
is for:
<!--
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
(This section helps Arrow developers understand the context and *why* for
this feature, in addition to the *what*)
-->
**Describe the solution you'd like**
<!--
A clear and concise description of what you want to happen.
-->
**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.
-->
Pretty small change, noticed it while working on REE but I dont want to
clutter the PR
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]