viirya commented on PR #2915: URL: https://github.com/apache/arrow-rs/pull/2915#issuecomment-1289538243
> I would also draw your attention to #2832 and #2798 Just tried it. I can use `DictionaryArray::with_values` for our case. Still copying dictionary value array with another `MutableArrayData`, then I changed to invoke `with_values` on the dictionary array obtained from freezing the first `MutableArrayData`. Just feeling that this way it is somehow not efficient as it needs to freeze and make an array, then takes the value array and copy and attach it back. For multiple dictionaries, one more issue is there as internally `MutableArrayData` will extend from sources' values. For single dictionary, it has different behavior as no extending. -- 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]
