superset-frontend/plugins/plugin-chart-echarts/src/Heatmap/buildQuery.ts
Function buildQuery
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function buildQuery(formData: HeatmapFormData) {
const { groupby, normalize_across, sort_x_axis, sort_y_axis, x_axis } =
formData;
const metric = getMetricLabel(formData.metric);
const columns = [