duckdb: :bug: No more autocomplete on v0.8.0
What happens?
After having upgraded to v0.8.0, no more autocomplete on:
- keywords (select,…)
- table names
To Reproduce
Just type SEL then TAB and see that the autocomplete is broken, same for database objects
OS:
5.15.0-72-generic #79-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
DuckDB Version:
v0.8.0
DuckDB Client:
cli
Full Name:
Adrien SALES
Affiliation:
Independant
Have you tried this on the latest master branch?
- I agree
Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
- I agree
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 15 (1 by maintainers)
Commits related to this issue
- Fix #7564 - if the auto-complete extension is not enabled, inline it into the shell — committed to Mytherin/duckdb by Mytherin a year ago
- Merge pull request #7621 from Mytherin/issue7564 Fix #7564 - if the auto-complete extension is not enabled, inline it into the shell — committed to duckdb/duckdb by Mytherin a year ago
This is fixed now, you can run
brew reinstall duckdbto reinstall the fixed versionI’ve already pushed a fix that is pending approval - https://github.com/Homebrew/homebrew-core/pull/146197
Sadly, it’s missing on 0.9.0 again (macOS Arm64, v0.9.0 0d84ccf478).
Was about to open the same, noticed this just in time. Can confirm works again with the latest macOS aarch64 build.
@adriens You are everywhere too, aren’t you?
Excellent, thank you!
It should be fixed in v0.8.1 yes
Thanks for the report! The issue here is that we used to enable auto-complete by default for the shell, and now it needs to be manually enabled in the build through
BUILD_AUTOCOMPLETE. It also seems like this has gone wrong in the homebrew client. I have pushed a fix in https://github.com/duckdb/duckdb/pull/7621 that inlines auto-complete into the shell if the extension itself is disabled.