Thoughtspot - Download Search Results to Platform
Overviewβ
Quickly download a natural language Thoughtspot query to a csv
Variablesβ
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
API Token | THOUGHTSPOT_TOKEN | Password | β | - | - | The API token generated from Thoughtspot |
Query | THOUGHTSPOT_QUERY | Alphanumeric | β | - | - | The query you want to download the results for |
Table ID | THOUGHTSPOT_TABLE_ID | Alphanumeric | β | - | - | The GUID for the table to query |
Rows | THOUGHTSPOT_ROWS | Alphanumeric | β | - | - | The number of rows to be returned. If omitted, then all will be returned |
File Name | THOUGHTSPOT_FILE_NAME | Alphanumeric | β | search_data.csv | - | The name of the file to be downloaded. Will default to search_data.csv |
YAMLβ
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
source:
blueprint: Thoughtspot - Download Search Results to Shipyard
inputs:
THOUGHTSPOT_TOKEN: null ## REQUIRED
THOUGHTSPOT_QUERY: null ## REQUIRED
THOUGHTSPOT_TABLE_ID: null ## REQUIRED
THOUGHTSPOT_ROWS: null
THOUGHTSPOT_FILE_NAME: search_data.csv
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '202'