qlty_distinctCategories
Get distinct values from a column in a Teradata table. Provides unique categories for analysis or reporting.
Instructions
Get the unique (distinct) values present in a specific column of a table. Use when the user asks what unique values, categories, or entries exist in a named column. Requires both a table name and a column name — if no column name is specified, ask for clarification before calling.
Arguments: database_name - Name of the database (optional) table_name - Table name to analyze column_name - Column name to analyze persist - If True, materializes result as a volatile table and returns table name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| persist | No | If True, materializes result as a volatile table and returns table name | |
| table_name | Yes | Table name to analyze | |
| column_name | Yes | Column name to analyze | |
| database_name | No | Name of the database (optional) |