tigergraph__preview_sample_data
Preview sample rows from a data source file or query, specifying the number of rows and optional graph or connection profile.
Instructions
Preview sample data from a file in a data source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Connection profile name. Omit to use the active default profile. Use 'list_connections' to see available profiles. | |
| num_rows | No | Number of sample rows to preview. | |
| file_path | Yes | For an object store source, the path to the file within the data source (e.g. 's3a://bucket/data.csv'). For a warehouse source such as Snowflake, the SQL query to sample instead (e.g. 'SELECT * FROM <db>.<schema>.<table>'). | |
| graph_name | No | Name of the graph context. If not provided, uses default connection. | |
| data_source_name | Yes | Name of the data source. |