thinkharderdev opened a new issue, #8500:
URL: https://github.com/apache/arrow-datafusion/issues/8500

   ### Is your feature request related to a problem or challenge?
   
   Currently there is no scalar representation of a `Union` type which can 
cause issue in cases where we rely on `ScalarValue` (see 
https://github.com/apache/arrow-datafusion/issues/8499 for the issue that is 
prompting this request)
   
   ### Describe the solution you'd like
   
   Define a `ScalarValue::Union` variant. I **think** this should be as simple 
as:
   ```
   enum ScalarValue {
      ...
      Union(i8,Box<ScalarValue>)
   }
   ```
   
   That is, just wraps another `ScalarValue` along with the `type_id`
   
   ### Describe alternatives you've considered
   
   Not do anything
   
   ### Additional context
   
   _No response_


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

Reply via email to