snowflake-connector-nodejs icon indicating copy to clipboard operation
snowflake-connector-nodejs copied to clipboard

Support for GET/PUT commands

Open iamEAP opened this issue 6 years ago • 3 comments
trafficstars

I am looking to push and pull large datasets into and out of Snowflake using this node.js SDK. I noticed in the documentation that GET and PUT are not currently supported in node.js.

I was wondering when this might be available. In an ideal world, I could issue a GET command and have a Readable stream returned. Likewise, I'd love to use Writeable stream for PUT'ing data to Snowflake.

It's not ideal, but as a workaround, I am planning on spawning child processes of SnowSQL (CLI) from node and reading/writing to/from the local file system.

iamEAP avatar Jan 29 '19 02:01 iamEAP

PUT and GET support for NodeJS driver is in the plan but not in the short term. In fact, it is not easy to patch quickly. Please raise a request to the Snowflake support.

smtakeda avatar Jan 29 '19 04:01 smtakeda

Is there already a roadmap for this feature?

flashtheman avatar Mar 17 '20 10:03 flashtheman

@smtakeda is there any way to move this up the priority list (and get some committment on a timeline)? We are having to build our apps to wrap nodejs logic around the snowflake python driver to pull this off. Works ok but feels pretty clunky long-term. Our organization is kind of stumped as to why the NodeJs driver would not support feature this by now.

thunter05 avatar Apr 20 '21 15:04 thunter05

PUT implemented with v1.6.2, GET implemented with v1.6.6, thank you everyone for your patience!

sfc-gh-dszmolka avatar Jan 14 '23 06:01 sfc-gh-dszmolka