diff --git a/superset-frontend/plugins/plugin-chart-table/src/buildQuery.ts b/superset-frontend/plugins/plugin-chart-table/src/buildQuery.ts index d74c097e80d..9e4bd0a78ad 100644 --- a/superset-frontend/plugins/plugin-chart-table/src/buildQuery.ts +++ b/superset-frontend/plugins/plugin-chart-table/src/buildQuery.ts @@ -227,7 +227,10 @@ export const buildQuery: BuildQuery = ( formData?.result_type === 'results'); if (isDownloadQuery) { - moreProps.row_limit = Number(formDataCopy.row_limit) || 0; + moreProps.row_limit = + formDataCopy.row_limit != null + ? Number(formDataCopy.row_limit) + : undefined; moreProps.row_offset = 0; } diff --git a/superset-frontend/src/dashboard/components/gridComponents/Chart/Chart.tsx b/superset-frontend/src/dashboard/components/gridComponents/Chart/Chart.tsx index c49aff42b1b..6727efb263e 100644 --- a/superset-frontend/src/dashboard/components/gridComponents/Chart/Chart.tsx +++ b/superset-frontend/src/dashboard/components/gridComponents/Chart/Chart.tsx @@ -581,7 +581,6 @@ const Chart = (props: ChartProps) => { exportFormData as unknown as import('@superset-ui/core').QueryFormData, resultType, resultFormat: format, - force: true, ownState: exportOwnState, onStartStreamingExport: shouldUseStreaming ? (exportParams: JsonObject) => {