zeroshade commented on code in PR #414:
URL: https://github.com/apache/arrow-go/pull/414#discussion_r2157176526


##########
arrow/flight/flightsql/example/sql_batch_reader.go:
##########
@@ -264,7 +265,7 @@ func (r *SqlBatchReader) Next() bool {
 
        rows := 0
        for rows < maxBatchSize && r.rows.Next() {
-               if err := r.rows.Scan(r.rowdest...); err != nil {
+               if err := r.rows.Scan(r.rowdest...); err != nil && err.Error() 
!= io.EOF.Error() {

Review Comment:
   From what I can tell, it's something weird with the sqlite handler 
implementation. it shouldn't be returning EOF, which looks like it isn't even 
returning `io.EOF` and instead just returns the string "EOF" it's really weird.



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to