Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
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

write_database to snowflake with adbc engine spouts context canceled error log #17666

Closed
2 tasks done
Niivii opened this issue Jul 16, 2024 · 3 comments
Closed
2 tasks done
Labels
bug Something isn't working needs triage Awaiting prioritization by a maintainer python Related to Python Polars

Comments

@Niivii
Copy link

Niivii commented Jul 16, 2024

Checks

  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest version of Polars.

Reproducible example

with adbc_driver_snowflake.dbapi.connect(db_kwargs={
    "username": user,
    "adbc.snowflake.sql.account": host,
    "adbc.snowflake.sql.auth_type": "auth_ext_browser",
    "adbc.snowflake.sql.warehouse": warehouse,
    "adbc.snowflake.sql.role": role,
    "adbc.snowflake.sql.db": database,
    "adbc.snowflake.sql.schema": db_schema,
}) as connection:
    self.write_database(
        table_name=table,
        connection=connection,
        if_table_exists="replace",
        engine="adbc",
    )

Log output

level=error msg="context canceled" func="gosnowflake.(*snowflakeConn).Close" file="connection.go:275" LOG_SESSION_ID=162217118069922

Issue description

dataframe correctly writes to Snowflake but we get an error log

Expected behavior

No error log

Installed versions

1.1.0
@Niivii Niivii added bug Something isn't working needs triage Awaiting prioritization by a maintainer python Related to Python Polars labels Jul 16, 2024
@connelld-dpsk12
Copy link

any update? im getting the same thing

@Niivii
Copy link
Author

Niivii commented Aug 6, 2024

Might be an upstream problem indeed. Let's see what adbc team thinks about it !

@Niivii
Copy link
Author

Niivii commented Aug 13, 2024

Will be fixed upstream, closing:
snowflakedb/gosnowflake#1196
snowflakedb/gosnowflake#1186

@Niivii Niivii closed this as completed Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Awaiting prioritization by a maintainer python Related to Python Polars
Projects
None yet
Development

No branches or pull requests

2 participants