Redshift Tools
Explore Redshift databases, schemas, tables, and columns directly from DinoAI to write accurate SQL, generate dbt sources, and understand warehouse structure faster.
The Redshift Tools allow DinoAI to explore your Amazon Redshift account β listing databases, schemas, tables, and columns β so it can help you write accurate SQL, build dbt models, and understand your data structure, all without leaving Paradime.
Requires a Redshift connection. These tools are only available when your workspace is connected to Amazon Redshift. See your workspace settings to configure a Redshift credential.
Capabilities
The Redshift Tools give DinoAI the following abilities:
List all non-template databases in your Redshift account
List all schemas within a given database (system schemas such as
pg_*andinformation_schemaare excluded automatically)List all base tables within a given database and schema, including descriptions from
pg_catalogInspect column names, data types, and descriptions for any table, with descriptions sourced from
pg_catalog.col_description
Using the Redshift Tools
Open DinoAI in the right panel of the Code IDE
Describe what you want to explore (e.g., a database name, a schema, or the columns of a specific table)
Add your prompt describing what you want DinoAI to do with that information
Grant permission when DinoAI asks to access your Redshift account
Review the results and implement DinoAI's suggested actions
Example Use Cases
Generating a dbt Source File
Prompt
Result: DinoAI queries Redshift's information_schema.columns and pg_catalog for column names, data types, and descriptions, then produces a ready-to-use sources.yml file with the correct structure and any available column descriptions pre-filled.
Exploring an Unfamiliar Database
Prompt
Result: DinoAI lists all schemas in the database (excluding system schemas) and the tables within them, giving you a complete picture before writing queries or building models.
Understanding a Table's Structure
Prompt
Result: DinoAI returns all column names, data types, and any descriptions registered in pg_catalog, ordered by ordinal position, so you can immediately understand the schema.
Working with Other Tools
The Redshift Tools work well alongside DinoAI's other capabilities:
Combine with the dbt Tools to inspect Redshift source tables and immediately scaffold dbt models or source definitions
Combine with the Catalog Search Tool to cross-reference Redshift table structure with existing dbt model documentation
Combine with the Column Level Lineage Tool to trace how a specific column flows from a raw Redshift table through your dbt transformations
Best Practices
List databases and schemas first β If you're unsure of exact names, ask DinoAI to list databases and schemas before drilling into tables or columns
Identifiers are normalised to lowercase β DinoAI automatically lowercases identifiers when querying Redshift; this matches Redshift's case-insensitive behaviour for unquoted names
System schemas are excluded automatically β
pg_*schemas andinformation_schemaare filtered out by default; you don't need to exclude them manuallyCheck permissions β DinoAI surfaces a
[ERROR]if it cannot access a resource; confirm your Redshift credential has the necessary read permissions on the target database and schemas
Last updated
Was this helpful?