alamb commented on issue #11513:
URL: https://github.com/apache/datafusion/issues/11513#issuecomment-2240244940

   > AFAICT ScalarValue is used quite heavily in physical stuff like 
accumulators and other places. Many "state"-like information we track during 
the course of execution relies on ScalarValue. Maybe I'm misunderstanding what 
you meant here?
   
   I was thinking that there is no fundamental difference between using 
`ScalarValue::String` and `ScalarValue::LargeString` and 
`ScalarValue::Dictionary(..)` to accumulate string values as they all 
eventually wrap `String`
   
   Thus I was thinking we could simplify the physical implementations by not 
having different codepaths and this would also give us some first hand 
experience in how mapping Logical --> Physical types might look like


-- 
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

Reply via email to