Mandukhai-Alimaa opened a new issue, #462:
URL: https://github.com/apache/arrow-go/issues/462

   ### Describe the enhancement requested
   
   In downstream projects using the Apache Arrow Go library — particularly in 
driver implementations and generic data ingestion layers — there’s often a need 
to extract values from an arrow.Array without knowing its concrete type ahead 
of time.
   
   Currently, this requires verbose type switches and manual downcasting for 
each array type, which adds boilerplate and makes generic handling of data more 
complex.
   
   To simplify this pattern, we propose adding a method to the Array interface 
that returns the Go-native equivalent of the value at a given index. For 
example:
   
   ValueAsAny(index int) any
   
   This change would significantly reduce boilerplate and improve ergonomics in 
downstream projects that need to interface with Arrow arrays in a type-agnostic 
way.
   
   ### Component(s)
   
   Other


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