Skip to content

[SQLLab] query history and preview not working when upgrading to v1.2 #15538

@thetko85

Description

@thetko85

A clear and concise description of what the bug is.

  • When using the apache/superset:1.2.0 image, the query history and preview tabs in the sqllab view are blank.

what you expected to happen.

  • Query history tab should show the historical queries and preview should show the preview of the table

Note:
The actual query history view actually works and lists the historical queries correctly. ie: "superset/sqllab/history/"

what actually happens.

Screenshots

query-history

How to reproduce the bug

  1. Go to 'sqllab'
  2. Choose a schema, table
  3. Click on Query history is blank
  4. Click on Preview is blank

Environment

(please complete the following information):

  • superset version: 1.2.0
  • python version: 3.7.9

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    #bugBug reportP1Priority item - MajorsqllabNamespace | Anything related to the SQL Labv1.2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions