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

Issue in sql Editor on trying to run query or selecting table in SQL LAB #13151

Closed
Newgin-sam opened this issue Feb 16, 2021 · 2 comments
Closed
Labels
!deprecated-label:bug Deprecated label - Use #bug instead sqllab Namespace | Anything related to the SQL Lab

Comments

@Newgin-sam
Copy link

Newgin-sam commented Feb 16, 2021

Screenshot

screenshot

Description

When navigating to sql editor and trying to run a query or selecting table on left dropdown the error as above screen shot
I am able to create datasets create charts and display on dashboards but i colud'nt run any query in sql editor as the error comes

Error

Database error
Instance <Query at 0x1b8f2ec1e50> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: http://sqlalche.me/e/13/bhk3)

@yousoph
Copy link
Member

yousoph commented Feb 17, 2021

#13041 fixes this

@suzjstgithub
Copy link

#12824

ENV: WIN10、pyhon venv 3.7.1 superset 1.0.1
same bug:
Database error
Instance <Query at 0x243d3302ac8> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: http://sqlalche.me/e/13/bhk3)

fixbug:
Lib\site-packages\superset\utils\core.py
image

@zuzana-vej zuzana-vej added question & help wanted Use Github discussions instead !deprecated-label:bug Deprecated label - Use #bug instead sqllab Namespace | Anything related to the SQL Lab and removed question & help wanted Use Github discussions instead labels Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
!deprecated-label:bug Deprecated label - Use #bug instead sqllab Namespace | Anything related to the SQL Lab
Projects
None yet
Development

No branches or pull requests

5 participants