andrusha / snowflake-rs

Snowflake API libraries for Rust
Apache License 2.0
31 stars 26 forks source link

Add streaming support for arrow batches #44

Open sgrebnov opened 6 months ago

sgrebnov commented 6 months ago

PRs adds exec_streamed method that returns Arrow Batches via stream while downloading/converting response. This reduces memory usage for large datasets as the records can be processed by chunks and improves performance by giving access for already loaded records.