Skip to main content

Thoughtspot - Download Search Results to Platform

Overview​

Quickly download a natural language Thoughtspot query to a csv

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
API TokenTHOUGHTSPOT_TOKENPasswordβœ…--The API token generated from Thoughtspot
QueryTHOUGHTSPOT_QUERYAlphanumericβœ…--The query you want to download the results for
Table IDTHOUGHTSPOT_TABLE_IDAlphanumericβœ…--The GUID for the table to query
RowsTHOUGHTSPOT_ROWSAlphanumericβž–--The number of rows to be returned. If omitted, then all will be returned
File NameTHOUGHTSPOT_FILE_NAMEAlphanumericβž–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'