-
Notifications
You must be signed in to change notification settings - Fork 478
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
SNOW-617426: Ability to overwrite tables when using write_pandas() #1175
Comments
Under the hood, |
Yes, I am looking into |
I have made a similar issue here with a proposed solution: #1141 |
@mhconradt would it be worth me making the PR I suggested or better to implement a work around in our application code? |
I am working on a solution as described in my comment above and will be creating a PR pretty soon. |
What is the current behavior?
Using the write_pandas() API there is no way to overwrite contents of a Snowflake table with that of a Pandas DataFrame without first executing a truncate SQL statement.
What is the desired behavior?
Using the write_pandas() API there should be a way to optionally overwrite contents of a Snowflake table with that of a Pandas DataFrame.
How would this improve
snowflake-connector-python
?Better user experience for Python developers and especially those devs that are not familiar with truncate SQL statement or know how to write SQL.
References, Other Background
Similar to overwriting contents of a Snowflake table when writing contents of Snowpark DataFrames using df.write.mode('overwrite')
The text was updated successfully, but these errors were encountered: