snowflakedb / snowflakedb/snowpark-python
SNOW-767053: Expose function to retrieve Snowflake import directory
Open
Nobody has claimed this yet.
feature
- Dominant language
- Python
- Stars
- 341
- Forks
- 155
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 27
Description
Currently, imports must be handled using code such as:
import sys
IMPORT_DIRECTORY_NAME = "snowflake_import_directory"
import_dir = sys._xoptions[IMPORT_DIRECTORY_NAME]
This snippet should be turned into a function, exposed by the library – or a constant if possible, e.g. snowflake.snowpark.IMPORT_DIRECTORY.
See also #639.
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.
Research direction
Start at the existing sys._xoptions["snowflake_import_directory"] entry point and inspect how public names are exposed from snowflake.snowpark. Confirm whether a function or constant best represents the import directory, and define done as callers no longer needing to access sys._xoptions directly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, data-engineering
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100