fix: show the total row count in the SQL Lab Query History tab when limited by DISPLAY_MAX_ROW (#19054)

This commit is contained in:
Diego Medina
2022-03-09 14:19:18 -05:00
committed by GitHub
parent f53f86f796
commit bd76648e4e
2 changed files with 6 additions and 4 deletions

View File

@@ -332,7 +332,7 @@ export default function sqlLabReducer(state = {}, action) {
endDttm: now(),
progress: 100,
results: action.results,
rows: action?.results?.data?.length,
rows: action?.results?.query?.rows || 0,
state: 'success',
limitingFactor: action?.results?.query?.limitingFactor,
tempSchema: action?.results?.query?.tempSchema,