VedantRalekar opened a new pull request, #50711:
URL: https://github.com/apache/arrow/pull/50711

   This PR introduces VisitIntegerType in arrow/util/visit_type_inline.h, 
providing a convenient way to dispatch integer-only Arrow types using the 
existing visitor pattern.
   
    Changes :
   - Added VisitIntegerType based on ARROW_GENERATE_FOR_ALL_INTEGER_TYPES.
   - Reused the existing VisitType dispatch pattern for consistency.
   - Added support for all Arrow integer types (Int8/UInt8 through 
Int64/UInt64).
   - Added a failure path for non-integer inputs since the helper assumes an 
integer type.
   
   This will allow code such as dictionary index handling to be simplified by 
replacing manual integer type switches with a reusable visitor helper.


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