-
Notifications
You must be signed in to change notification settings - Fork 97
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
adbc_driver_snowflake error when writing table to snowflake #2062
Comments
Just for reference, where are the other reports about this? |
pola-rs/polars#17666 I guess it was on the polars repo |
CC @joellubi / @zeroshade (are we forgetting to wait for a task somewhere?) |
Hi @connelld-dpsk12 and @lidavidm. I've seen this issue recently as well and it appears to be upstream of us in gosnowflake. I opened an issue with them last week that provides some detail into what's happening: snowflakedb/gosnowflake#1186. To summarize the bug, it appears that gosnowflake persists the The actual impact of this to us is unclear. The log emitted comes from connection.go:275, which is the Ideally this gets fixed upstream, but there are a few options for how we can deal with this in the meantime:
|
Ah, thanks for the details! I'd be OK waiting for upstream to fix this properly before we try to hack around it, since they seem to have acknowledged the report |
@lidavidm @connelld-dpsk12 I opened a PR upstream that should fix this: snowflakedb/gosnowflake#1196 |
What happened?
ERRO[0016]connection.go:275 gosnowflake.(*snowflakeConn).Close context canceled
Ive tries both python 3.8 and 3.10 when using the adbc engine to write_database with polars. The funny thing is, the data does indeed write to the table, however this error still occurs. Looks like other people have had a similar issue.
Stack Trace
ERRO[0016]connection.go:275 gosnowflake.(*snowflakeConn).Close context canceled
How can we reproduce the bug?
df.write_database(connection=conn, table_name=table, if_table_exists='replace', engine='adbc')
Environment/Setup
adbc-driver-snowflake==1.1.0
The text was updated successfully, but these errors were encountered: