Describe Table
describe-tablePurpose: Inspect a RawTree table's columns, row count, byte count, sorting key, database, and organization.
Instructions
Purpose: Inspect a RawTree table's columns, row count, byte count, sorting key, database, and organization.
NOT for: Sampling actual row values. Use run-query for SELECT queries.
Returns: Table metadata and columns. sorting_key is a comma-separated SQL expression string, empty when the table picks a key per part from the ingested data.
When to use:
You need to know available fields before writing SQL
A query fails because a column may not exist
You just inserted data and want to inspect the dynamic schema
You want the current sorting key before changing it with update-table
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name to describe. | |
| cluster | No | RawTree cluster to use for this operation. | |
| database | No | Optional RawTree database override. RawTree uses the default database when omitted. | |
| organization | No | RawTree organization containing the target cluster. |