Hi,

I just started using Sequel with ruby-odbc to connect to SnowflakeDB.

I've noticed that Sequel performs some eager loading of the whole result 
set before giving back to the caller.

Eg:

```
connection['SELECT * from big_table'].each do |row|
p row
end
```
this will not return any row until everything is loaded in memory.

The problem seems to be here:

https://github.com/jeremyevans/sequel/blob/67cc4245227a6c01ecb20d0138aaf37b05a5aebc/lib/sequel/adapters/odbc.rb#L95
on `fetch_all`.

I can monkey-patch it, but would prefer to have the right fix in master.
Does anyone know why this behaviour is there, doesn't seem right.


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/246039e1-b335-4778-a7d1-f2b158982bfcn%40googlegroups.com.

Reply via email to