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

Add support for snow:// stage paths #1346

Merged
merged 6 commits into from
Apr 4, 2024
Merged

Conversation

sfc-gh-dhung
Copy link
Collaborator

@sfc-gh-dhung sfc-gh-dhung commented Mar 29, 2024

Please answer these questions before submitting your pull requests. Thanks!

  1. What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.

    Fixes SNOW-1282839: Add support for SnowURLs #1345

  2. Fill out the following pre-review checklist:

    • I am adding a new automated test(s) to verify correctness of my new code
    • I am adding new logging messages
    • I am adding a new telemetry message
    • I am adding new credentials
    • I am adding a new dependency
  3. Please describe how your code solves the related issue.

Adds support for snow:// prefixed stage paths. Also fixes a bug where local file path is incorrectly extracted from single quoted paths: '@path/file' -> file' (note trailing quote)

Copy link

github-actions bot commented Mar 29, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@sfc-gh-dhung
Copy link
Collaborator Author

I have read the CLA Document and I hereby sign the CLA

@sfc-gh-dhung sfc-gh-dhung force-pushed the dhung-snowurl-support branch from ad1aaa4 to 1e4ec14 Compare April 3, 2024 17:34
Copy link
Contributor

@sfc-gh-aalam sfc-gh-aalam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sfc-gh-aalam
Copy link
Contributor

LGTM. Running SP tests here: https://ci-dev-142.int.snowflakecomputing.com/job/PythonStoredProcBuildPrecommitTest/1001/

Relevant tests related to this change passed. Only failures are also open issues right now

  • t_python_sp.enable_fix_1022487.ssql
  • t_python_sp.wametrics_tracking_py_sp.py

@sfc-gh-stan sfc-gh-stan merged commit 78c11ac into main Apr 4, 2024
62 checks passed
@sfc-gh-stan sfc-gh-stan deleted the dhung-snowurl-support branch April 4, 2024 18:21
@github-actions github-actions bot locked and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SNOW-1282839: Add support for SnowURLs
3 participants