alamb opened a new pull request, #2891: URL: https://github.com/apache/arrow-datafusion/pull/2891
# Which issue does this PR close? Closes https://github.com/apache/arrow-datafusion/issues/2874 Closes https://github.com/apache/arrow-datafusion/pull/2875 Closes https://github.com/apache/arrow-datafusion/issues/2873 # Rationale for this change See https://github.com/apache/arrow-datafusion/issues/2873 and https://github.com/apache/arrow-datafusion/issues/2874 TLDR is that right now `ScalarValue` can not encode a `Dictionary` value so casting a constant to a `Dictionary` gets undone for scalars (aka single values) causing https://github.com/apache/arrow-datafusion/issues/2873 and other issues # What changes are included in this PR? Implement `ScalarValue::Dictionary` # Are there any user-facing changes? New type of ScalarValue -- 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]
