Skip to content

SQL Lab: Query History: Duration column shows some nonsense durations (expected only duration of run) #30894

Open
@praveer38

Description

@praveer38

Bug description

On the SQL Lab’s “Query History” tab, the “Duration column:

expected: it should show only execution duration for the query (i.e. under a second for simple queries)

actual: it is showing some real values along with some unexpected values as shown in the video and screenshot.

Steps to Reproduce

  1. Go to SQL Lab
  2. Create a query
  3. Run the query (and variations of it) multiple times
  4. Click the “Query History” tab
  5. The “Duration” column will show a fraction of a second for each query
  6. In the Results column, click “View”
  7. Close the query view

Screenshots/recordings

image
Superset.and.58.more.pages.-.Work.-.Microsoft_.Edge.2024-11-11.19-52-02.mp4

Superset version

4.0.2

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions