airbnb/caravel

View on GitHub
superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/buildQuery.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function buildQuery has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function buildQuery(formData: PivotTableQueryFormData) {
  const { groupbyColumns = [], groupbyRows = [], extra_form_data } = formData;
  const time_grain_sqla =
    extra_form_data?.time_grain_sqla || formData.time_grain_sqla;

    There are no issues that match your filters.

    Category
    Status