findepi opened a new pull request, #12488: URL: https://github.com/apache/datafusion/pull/12488
`ScalarValue` should be a container for a single nullable logical type and should not be concerned by various physical encodings used in arrays. It doesn't involve arrays even as part of internal representation (like arrow `Scalar` does). Remove `Dictionary` option from the `ScalarValue`. Note that `ScalarValue` doesn't have mapping for RLE arrays, while there are very similar type to dictionaries. Having `ScalarValue` follow complexity of various physical representations poses a burden on UDF implementers. They need to handle all equivalent scalar values. -- 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-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org