snowflakedb / snowflakedb/snowflake-connector-python
SNOW-757724: Ability to change the encoding while reading the data from Snowflake
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 730
- Forks
- 574
- Avg merge
- 5h 45m
- Merged PRs (30d)
- 16
Description
What is the current behavior?
Currently, we can do df = conn.cursor().execute("""Query""").fetch_pandas_all() with conn being the snowflake.connector.connect()
What is the desired behavior?
The desired behavior is to have an argument where one can determine/change the encoding of the data that is stored in the resulting pd.DataFrame
How would this improve snowflake-connector-python?
Similar to pd.read_csv(encoding=) this makes it easier for users to determine/change the encoding of the data.
References, Other Background
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 with the snowflake.connector.connect() cursor flow ending in fetch_pandas_all(), and compare the requested behavior with pandas read_csv(encoding=). Clarify which encoding values and data paths are in scope, then add coverage showing that the resulting pd.DataFrame uses the selected encoding; the work is done when this option is documented and tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100