Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix: display correct metadata when data scanned is 0 #7050

Open
Nautman opened this issue Jul 9, 2024 · 0 comments
Open

Bug fix: display correct metadata when data scanned is 0 #7050

Nautman opened this issue Jul 9, 2024 · 0 comments

Comments

@Nautman
Copy link

Nautman commented Jul 9, 2024

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?

{queryResultData.metadata.data_scanned && (
<span className="m-l-5">
Data Scanned
<strong>{prettySize(queryResultData.metadata.data_scanned)}</strong>
</span>
)}

image

Link to image showing issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant