You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
uninstall erroring and deleting more than it should #29
On macOS, dbc v0.0.1-pre3 is erroring unexpectedly when I uninstall a driver and it also looks like it deletes more than it should. This bug may be fixed or at least affected by #5 but I haven't tested yet.
$ ls "/Users/bryce/Library/Application Support/ADBC/Drivers"
ls: /Users/bryce/Library/Application Support/ADBC/Drivers: No such file or directory
~/src/columnar-tech/dbc docs/update-website*
$ dbc install mssql
[✓] searching
[✓] downloading
[✓] installing
[✓] verifying signature
Installed mssql 1.0.0 to /Users/bryce/Library/Application Support/ADBC/Drivers
~/src/columnar-tech/dbc docs/update-website*
$ dbc search
• duckdb - An analytical in-process SQL database management system
• snowflake - An ADBC driver for Snowflake developed under the Apache Software Foundation
• mssql - Columnar ADBC Driver for Microsoft SQL Server [installed: user=>1.0.0]
• mysql - ADBC Driver Foundry Driver for MySQL
• flightsql - An ADBC driver for Apache Arrow Flight SQL developed under the Apache Software Foundation
~/src/columnar-tech/dbc docs/update-website*
$ ls "/Users/bryce/Library/Application Support/ADBC/Drivers"
mssql_macos_arm64_v1.0.0/ mssql.toml
~/src/columnar-tech/dbc docs/update-website*
$ dbc uninstall mssql
Error: failed to uninstall driver: error removing manifest /Users/bryce/Library/Application Support/ADBC/Drivers/mssql.toml: remove /Users/bryce/Library/Application Support/ADBC/Drivers/mssql.toml: no such file or directory
~/src/columnar-tech/dbc docs/update-website*
$ ls "/Users/bryce/Library/Application Support/ADBC/Drivers"
ls: /Users/bryce/Library/Application Support/ADBC/Drivers: No such file or directory
~/src/columnar-tech/dbc docs/update-website*
Activity
amoeba commentedon Sep 17, 2025
This was caused by what was going on in #37 and so this no longer happens with the updated mysql package.
I think we still need to make the uninstall routine more defensive. I'll make a test for this.
fix: add test to cover behavior for invalid manifests (#48)