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

   ### Rationale for this change
   When having an empty resultset, the driver tries to include an empty record 
referece, that cannot be scanned.
   
   So, any operation that relies on the returned Row(s) will trigger a "Index 
out of Range" error.
   
   ### What changes are included in this PR?
   We're preventing to include an invalid record (that can't be scanned) in an 
empty resultset
   
   ### Are these changes tested?
   Yes, there's a new test included
   
   ### Are there any user-facing changes?
   No
   
   **This PR contains a "Critical Fix".**


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