Skip to content

SNOW-1356922: Download data files directly from an internal stage to a stream using nodejs driver #834

Open
@JonMoore46

Description

@JonMoore46

What is the current behavior?

When supplying a GET command, it doesn't appear to be possible to write the file to a stream, the file is just downloaded directly to the file system.

What is the desired behavior?

To be able to download the file returned from a GET command via a stream.

How would this improve snowflake-connector-nodejs?

It would provide feature parity with other drivers/SDKs and mean developers who are unable to download directly to the file system e.g due to organisational restrictions, can download to a stream and then in memory file storage.

References, Other Background

This appears to be possible with the Java driver https://docs.snowflake.com/en/developer-guide/jdbc/jdbc-using#label-jdbc-download-from-stage-to-stream so having feature parity would be great.

If this is possible somehow please feel free to let me know as it isn't 100% clear how to currently.

What is your Snowflake account identifier, if any?

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementThe issue is a request for improvement or a new featurestatus-triage_doneInitial triage done, will be further handled by the driver team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions