mirror of
https://github.com/apache/superset.git
synced 2026-05-25 01:35:39 +00:00
When sort_by_metric is true, buildQuery unconditionally appended a secondary ORDER BY series ASC alongside the metric sort. On Druid, any multi-column ORDER BY prevents the native TopN query optimization, forcing a full GroupBy scan that can cause dramatic slowdowns and timeouts on high-cardinality dimensions. Make the series sort mutually exclusive with sort_by_metric, and add test coverage for both sort behaviors. Fixes #39072
@superset-ui/plugin-chart-word-cloud
This plugin provides Word Cloud 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 WordCloudChartPlugin from '@superset-ui/plugin-chart-word-cloud';
new WordCloudChartPlugin().configure({ key: 'word-cloud' }).register();
Then use it via SuperChart. See
storybook
for more details.
<SuperChart
chartType="word-cloud"
width={600}
height={600}
formData={...}
queriesData={[{
data: {...},
}]}
/>