airbnb/caravel

View on GitHub
superset-frontend/plugins/plugin-chart-echarts/src/Heatmap/buildQuery.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function buildQuery has 36 lines of code (exceeds 25 allowed). Consider refactoring.
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 = [

    There are no issues that match your filters.

    Category
    Status