Open
Description
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?
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
}