You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking at the example in the README, and the loop looks like this:
...// Iterate over each stripe in the file.forc.Stripes() {
// Iterate over each row in the stripe.forc.Next() {
// Retrieve a slice of interface values for the current row.log.Println(c.Row())
}
}
...
What is the reason for the user having to iterate over the stripes? It feels very low-level. An alternative would be to simplify the API to
...// Iterate over each row in the stripe.forc.Next() {
// Retrieve a slice of interface values for the current row.log.Println(c.Row())
}
...
...and have the cursor handle the stripes internally. Thoughts?
The text was updated successfully, but these errors were encountered:
That could be a nice simplification, my original thinking was to facilitate skipping a stripes based on checking column statistics. But that could be achieved in other ways.
I'm looking at the example in the README, and the loop looks like this:
What is the reason for the user having to iterate over the stripes? It feels very low-level. An alternative would be to simplify the API to
...and have the cursor handle the stripes internally. Thoughts?
The text was updated successfully, but these errors were encountered: