alamb commented on PR #11978:
URL: https://github.com/apache/datafusion/pull/11978#issuecomment-2293837444

   I wonder if we could do some sort of hybrid approach where `ScalarValue` 
still retains a DataType, type, but it isn't encoded in the variant
   
   like
   ```rust 
   enum ScalarValue {
     ...
     /// A logical string value, with the specified data type
     ScalarValue::Utf8(String,  DataType) ,
   }
   ```
   
   That way you would still have the `DataType` for each `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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to