pierrebelzile commented on issue #10160: URL: https://github.com/apache/arrow-rs/issues/10160#issuecomment-4768998322
I can see your point of view. However this comes down our expectation on the usage of dictionaries. They are most useful for: - accelerating "compute" algorithms. For example filtering, aggregation. Unless we unify, those algorithms do not work and the dictionaries must first be converted to their string equivalent. A huge penalty. - reducing memory during IPC transmissions: We would certainly want to avoid sending the same entries more than once but not a huge benefit. So this could go either way. For reference the C++ implementation unifies dictionaries during a concat operation (https://github.com/apache/arrow/blob/main/cpp/src/arrow/array/concatenate.cc#L643) -- 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]
