base_tablePreview
Preview a database table or view by retrieving the top 5 rows and its inferred structure. Optionally persist results as a volatile table for further analysis.
Instructions
Returns a data sample (top 5 rows) and inferred structure from a database table or view.
Arguments: table_name - Table or view name database_name - Database name persist - If True, materializes result as a volatile table and returns table name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Table or view name | |
| persist | No | If True, materializes result as a volatile table and returns table name | |
| database_name | No | Database name |