gosnowflake icon indicating copy to clipboard operation
gosnowflake copied to clipboard

SNOW-657330: WithFileStream support for GET queries

Open mihaitodor opened this issue 3 years ago • 3 comments

Issue description

I'd like to write some code which downloads a file from a Snowflake stage into an in-memory stream. However, it looks like this client library only supports specifying an actual file as the destination. Note that for PUT operations, I can use WithFileStream to do the reverse operation.

Example code

See the documentation here and here and the code here which only applies to PUT operations.

Error log

N/A

Configuration

N/A

mihaitodor avatar Sep 07 '22 16:09 mihaitodor

thank you for raising this request with us, we'll see how this capability could be added to the driver. cannot commit to any expected timeline - thank you for bearing with us !

sfc-gh-dszmolka avatar Mar 28 '23 17:03 sfc-gh-dszmolka

Are there any updates on your roadmap regarding this enhancement? It would be great to be able to add a GET-based input to Benthos, since right now it only provides a PUT-based output.

mihaitodor avatar Jan 09 '24 13:01 mihaitodor

Hi @mihaitodor ! We are in the process of planning upcoming three months. I added this one as a candidate. Fingers crossed it will be accepted to do!

sfc-gh-pfus avatar Jan 09 '24 13:01 sfc-gh-pfus