frbvianna opened a new issue, #2702:
URL: https://github.com/apache/arrow-adbc/issues/2702

   ### What feature or improvement would you like to see?
   
   Is there some way to specify a maximum number of rows / fetch size that each 
Arrow record from a query result can contain? Otherwise is there some known 
limit of size / number of rows that is returned for each record?
   Would it be feasible to implement e.g. a statement option for that, like the 
below?
   
   ```go
   fetchSize := 10000 // num. rows
   stmt.SetOption(snowflake.OptionFetchSize, fetchSize)
   
   rr, _, err := stmt.ExecuteQuery(ctx)
   if err != nil {
        return err
   }
   defer rr.Release()
   
   for rr.Next() {
        rec := rr.Record()
   
        rec.NumRows() // <= fetchSize
   }
   ```


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

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

Reply via email to