
Superset charts Data
CertifiedFetch chart data
Superset charts Data
Fetch chart data
Queries chart data via POST /chart/data and outputs rows using fetchType.
Rows can be fetched in memory or streamed as Amazon Ion into internal storage.
type: io.kestra.plugin.superset.charts.DataExamples
Query chart data and store rows
id: get_chart_data
namespace: company.team
tasks:
- id: fetch_data
type: io.kestra.plugin.superset.charts.Data
url: "{{ secret('SUPERSET_URL') }}"
username: "{{ secret('SUPERSET_USER') }}"
password: "{{ secret('SUPERSET_PASSWORD') }}"
chartPayload:
datasource:
id: 1
type: table
queries:
- columns: []
metrics: ["count"]
row_limit: 1000
result_format: json
result_type: full
Installation
Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:
kestractl plugins get io.kestra.plugin:plugin-superset --compatible-for $KESTRA_VERSION For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.
For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.
Properties
chartPayload *object
The JSON query payload to send to /chart/data
Map representing the Superset chart query context (including datasource and queries)
submitted as JSON to POST /api/v1/chart/data.
password *string
The Superset password
Password associated with the Superset username. Always store this value in a Kestra secret.
url *string
The Superset API base URL
Base URL of the Apache Superset API, including the /api/v1 path suffix
(for example https://superset.example.com/api/v1).
username *string
The Superset username
Username used to authenticate against Apache Superset via POST /security/login.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150fetchType string
STORESTOREFETCHFETCH_ONENONEHow to return output data
Controls how chart rows are returned: STORE (written as Amazon Ion in internal storage, default),
FETCH (all rows in output), or FETCH_ONE (first row only).
provider string
dbAuthentication provider
Superset authentication provider passed to /security/login.
Supported values include db (default), ldap, oauth, and oid.
Outputs
row object
First fetched row (when FETCH_ONE)
rows array
All fetched rows (when FETCH)
size integer
Total number of rows returned
uri string
uriURI of stored chart data in Kestra internal storage (when STORE)