snowflakedb / snowflakedb/snowpark-python
SNOW-1889627: SNOW-1793953: Allow relative path starting with / for GET
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.