Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JonMoore46 opened this issue Apr 30, 2024 · 1 comment
Assignees
Labels
enhancement The issue is a request for improvement or a new feature status-triage_done Initial triage done, will be further handled by the driver team

Comments

@JonMoore46
Copy link

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

@github-actions github-actions bot changed the title Download data files directly from an internal stage to a stream using nodejs driver SNOW-1356922: Download data files directly from an internal stage to a stream using nodejs driver Apr 30, 2024
@sfc-gh-dszmolka sfc-gh-dszmolka self-assigned this May 1, 2024
@sfc-gh-dszmolka sfc-gh-dszmolka added the status-triage Issue is under initial triage label May 1, 2024
@sfc-gh-dszmolka
Copy link
Collaborator

hi and thank you for submitting this request; the team will consider for future plans.

@sfc-gh-dszmolka sfc-gh-dszmolka added enhancement The issue is a request for improvement or a new feature status-triage_done Initial triage done, will be further handled by the driver team and removed status-triage Issue is under initial triage labels May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue is a request for improvement or a new feature status-triage_done Initial triage done, will be further handled by the driver team
Projects
None yet
Development

No branches or pull requests

3 participants