redash icon indicating copy to clipboard operation
redash copied to clipboard

Bug fix: display correct metadata when data scanned is 0

Open Nautman opened this issue 7 months ago • 0 comments

When data_scanned is 0 in the metadata for a query result, it is weirdly displayed as

1 second runtime0

My proposal is to write it like

1 second runtime. Using cached data.

I suppose it would be correct to say that it is using cached data in the case when it is 0?

https://github.com/getredash/redash/blob/a37ef3b23528574c1126185d4065506b4698bf9d/client/app/pages/queries/components/QueryExecutionMetadata.jsx#L70-L75

image

Link to image showing issue

Nautman avatar Jul 09 '24 10:07 Nautman