mirror of
https://github.com/apache/superset.git
synced 2026-07-13 18:25:58 +00:00
Two bugs caused dashboard CSV exports to always re-execute the query instead of using the cache (while the Explore page correctly used the cache): 1. Chart.tsx passed `force: true` to `exportChart()`, unconditionally bypassing the cache on every dashboard export. 2. buildQuery.ts coerced a missing `row_limit` to `0` via `|| 0` for download queries, while display queries left it as `undefined`. This produced a different cache key so exports would miss the cache even without the `force` flag. Both fixes are needed together: removing `force: true` lets the backend consult the cache, and preserving `undefined` for a missing row_limit ensures the export query produces the same cache key as the display query that populated the cache. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@superset-ui/plugin-chart-table
This plugin provides Table chart for Superset.
Usage
Configure key, which can be any string, and register the plugin. This key will be used to
lookup this chart throughout the app.
import TableChartPlugin from '@superset-ui/plugin-chart-table';
new TableChartPlugin().configure({ key: 'table' }).register();
Then use it via SuperChart. See
storybook
for more details.
<SuperChart
chartType="table"
width={600}
height={600}
formData={...}
queriesData={[{
data: {...},
}]}
/>