snowflakedb / snowflakedb/snowpark-python

SNOW-1889627: SNOW-1793953: Allow relative path starting with / for GET

Open
#2,888 0 comments 0 reactions 1 assignee View on GitHub

@sfc-gh-tvanderkooy is already working on this.

Since Jan 20, 2025.

Dominant language
Python
Stars
341
Forks
155
Avg merge
4d 16h
Merged PRs (30d)
27

Description

In native apps, GET supports a relative path to fetch files from the application version. For example:

GET /manifest.yml file:///to/some/local/path

Currently file.get("/some/file") will preprend @ to the path and try to GET '@/some/file' which is never a valid stage path. We should allow / as a path prefix to support this case.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.