miguelpragier commented on code in PR #40090:
URL: https://github.com/apache/arrow/pull/40090#discussion_r1492335687


##########
go/arrow/flight/flightsql/driver/driver.go:
##########
@@ -37,34 +38,50 @@ import (
 )
 
 type Rows struct {
-       schema        *arrow.Schema
-       records       []arrow.Record
-       currentRecord int
-       currentRow    int
+       schema           *arrow.Schema
+       recordChan       chan arrow.Record
+       currentRecord    arrow.Record
+       currentRecordMux sync.Mutex

Review Comment:
   mutex removed.
   wasn't really consistent.
   I think the new organization is leaner & safer.



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