-
Notifications
You must be signed in to change notification settings - Fork 135
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
Superset and SQLLab - error with Preview for the table #11
Comments
I think the fix is: from google.cloud.bigquery import Row # pylint: disable=import-error |
Thanks. This is something that will need to be done in the superset code as there is a direct import from Google's DBAPI library. For now as a workaround you can revert back to the older pybigquery and older google-cloud-bigquery dependency:
Should fix all issues. |
Pushed the fix |
Well I messed something up .. SQL Lab trying to preview results or run a query I get.
|
Are you selecting any fields with RECORD type? That might be causing an issue. Try flattening the query, e.g. instead of |
No. What I did to fix this was grab the latest sql_lab.py code from superset. It changes how it reads the data ie. pd.Dataframe(list(data)... |
Select the dataset.tablename from the SQLLab drop downs.
The supeset UI returns "cannot import name Row" on the Preview tab.
The log returns the following:
The text was updated successfully, but these errors were encountered: