fallintoplace commented on PR #1085: URL: https://github.com/apache/arrow-go/pull/1085#issuecomment-5196064892
Record represents the single protobuf message passed to the reflection, so it should still produce one row when that message has no included fields. With zero columns, there are no arrays left to infer the row count, so I pass 1 explicitly. Returning zero rows would represent no records rather than one empty protobuf message. -- 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]
