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

   ### Rationale for this change
   Currently, Result::Map fails to compile when the mapping function returns a 
Status because it tries to instantiate Result, which is prohibited. This change 
allows Map to return Status directly in such cases.
   
   ### What changes are included in this PR?
   - Added EnsureResult specialization to allow Map to return Status directly.
   - Added unit tests to verify success/error propagation and return type 
resolution.
   
   ### Are these changes tested?
   Yes.
   
   ### Are there any user-facing changes?
   No


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