Skip to content

SQL Lab Executes Only the Last Query When Multiple Queries Are Submitted Together #71

Description

@jan21deepak

Bug description

When multiple SQL queries are entered and executed together in SQL Lab, Superset only returns the result of the last query. The results from the preceding queries are not displayed.
When three queries are submitted together, only the result of the last query is displayed.

Screenshots/recordings

Can't share the exact image because it is our customer IDs.

Superset version

master / latest-dev

Python version

3.12

Node version

18 or greater

Browser

Chrome

Additional context

The issue is reproducible when executing three or more SQL statements in a single SQL Lab execution. It appears that only the final statement's result set is returned to the user while previous query results are not surfaced in the U

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.

Imported from the parent repository for autonomous engineering evaluation.

Source issue: apache#42998

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions