Troubleshooting¶
First, run the built-in health check to inspect binaries, parsers, and connection profiles:
:checkhealth vim-teradata
bteq: command not found¶
- Cause: BTEQ is not available on
$PATH. - Fix: Install TTU and ensure
bteqis on your$PATH. Verify in your shell withwhich bteq.
tdwallet ... no entry / Authentication failures¶
- Cause: No password is stored for the configured user profile in
tdwallet. - Fix: Run
tdwallet add <USER>on your host machine to store the password, then retry.
:TDSync errors with permission denied on dbc.columnsv¶
- Cause: The current user lacks read permission on system catalog views.
- Fix: Grant
SELECTondbc.columnsvto the user configured for:TDSync. This is the only database privilege required by the plugin. - If
:TDSyncis very slow on large systems, consider filtering catalogs usingfilter_db.
Diagnostics or syntax highlighting not showing¶
- Cause: The
teradataTree-sitter parser is not installed or not detected. - Fix: Run
:checkhealth treesitter(confirm that theteradataparser is listed) and follow the parser installation steps in Tree-sitter guide. Also ensure your filetype matchesftorsql_detection.
Completion returns no suggestions¶
- Confirm a successful
:TDSynchas run. - Confirm the cache directory contains JSON files:
:echo stdpath('data') . '/teradata' - With
nvim-cmp, verifytd_sql_completionis included in your source list. - If not using a completion plugin, press
<C-X><C-O>in insert mode to trigger native omnifunc.
:TDR does nothing¶
- Cause: Missing picker backend or search binaries.
- Fix: Install one of the supported pickers (
fzf-lua,snacks.nvim,telescope.nvim,fzf.vim, or configurepicker = 'native'), and ensure bothripgrep(rg) andbatare installed on$PATH.
Results are truncated¶
- Increase
retlimitin yoursetup()configuration. Note that very large exports (> 10k rows) should preferably use TPT.