{"record":{"id":"9a538c18fef71275","repo":"pola-rs/polars","slug":"unrecognised-connection-type-qualified-type-name","errorCode":null,"errorMessage":"unrecognised connection type {qualified_type_name(connection)!r}","messagePattern":"unrecognised connection type (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"py-polars/src/polars/dataframe/frame.py","lineNumber":4514,"sourceCode":"                _import_optional_adbc_driver,\n                _is_adbc_snowflake_conn,\n                _open_adbc_connection,\n            )\n\n            conn, can_close_conn = (\n                (_open_adbc_connection(connection), True)\n                if isinstance(connection, str)\n                else (connection, False)\n            )\n\n            driver_manager = import_optional(\"adbc_driver_manager\")\n\n            # base class for ADBC connections\n            if not isinstance(conn, driver_manager.dbapi.Connection):\n                msg = (\n                    f\"unrecognised connection type {qualified_type_name(connection)!r}\"\n                )\n                raise TypeError(msg)\n\n            driver_manager_str_version = getattr(driver_manager, \"__version__\", \"0.0\")\n            driver_manager_version = parse_version(driver_manager_str_version)\n\n            if if_table_exists == \"fail\":\n                # if the table exists, 'create' will raise an error,\n                # resulting in behaviour equivalent to 'fail'\n                mode = \"create\"\n            elif if_table_exists == \"replace\":\n                if driver_manager_version < (0, 7):\n                    msg = (\n                        \"`if_table_exists = 'replace'` requires ADBC version >= 0.7, \"\n                        f\"found {driver_manager_str_version}\"\n                    )\n                    raise ModuleUpgradeRequiredError(msg)\n                mode = \"replace\"\n            elif if_table_exists == \"append\":\n                # 'append' inserts into an existing table; the table-existence","sourceCodeStart":4496,"sourceCodeEnd":4532,"githubUrl":"https://github.com/pola-rs/polars/blob/df599052daf96e7a9cc30a3b0c6bd25d6947e3c0/py-polars/src/polars/dataframe/frame.py#L4496-L4532","documentation":"Error \"unrecognised connection type {qualified_type_name(connection)!r}\" thrown in pola-rs/polars.","triggerScenarios":"Thrown at py-polars/src/polars/dataframe/frame.py:4514 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"df599052daf96e7a9cc30a3b0c6bd25d6947e3c0","analyzedAt":"2026-08-16T12:10:03.978Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}