ErwonB's Teradata Toolset

A collection of open-source tools to improve the developer experience for Teradata SQL in Neovim.

vim-teradata

A powerful NeoVim plugin to interact directly with the Teradata database.

Key Features:

  • Check query syntax (for single or multiple queries).
  • Run queries and output results to a split buffer (`:TDO`).
  • Browse query history and resultsets (`:TDH`).
  • Manage user connections and bookmarks (`:TDU`, `:TDB`).
  • Search past queries (requires fzf.vim, bat, and rg).

Configuration: Requires Lua setup for connection details (log_mech, user, tdpid).

sql-autocomplete

A NeoVim plugin for context-aware SQL autocompletion, designed to work with the Teradata ecosystem.

Key Features:

  • Provides manual completion trigger (<C-x><C-u>).
  • Automatically handles three modes: Database, Table, and Field selection.
  • Can be integrated with modern completion engines like `blink.cmp`.
  • Can leverage connection settings directly from `vim-teradata`.

Dependencies: Requires `fzf.vim` and Teradata Tools and Utilities (`tbuild`).

tree-sitter-teradata

A high-performance Teradata SQL grammar for Tree-sitter.

Key Features:

  • Provides a fast, accurate parser for Teradata-specific SQL syntax.
  • Enables advanced syntax highlighting, code navigation, and refactoring in compatible editors (like Neovim).
  • Includes minimal support for BTEQ commands (Logon, Exit, If, etc.).
  • Acts as a foundational layer for other Teradata developer tools.

Purpose: This is a fundamental parsing tool used by editors and other plugins.