-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
failed to add oracle view as superset table. #3658
Comments
Check the superset logs and include any stacktrace please. |
Hi I also have the same problem. I worked after fixing it like this. /superset/connectors/sqla/views.py # Fail before adding if the table can't be found
- if not table.database.has_table(table):
+ try:
+ table.get_sqla_table_object()
+ except Exception as e:
raise Exception(_( Superset version0.20.5 Actual resultsAn error message |
rollback to old version
* BugFix(apache#3658) rollback to old version * Update views.py
* BugFix(apache#3658) rollback to old version * Update views.py
* BugFix(apache#3658) rollback to old version * Update views.py
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
2.0.3
Expected results
Failed to add oracle view as superset table, while it works normal at the vresion of 1.9.1.
Actual results
Steps to reproduce
Open the tablemodelview list page, click add table button, then go to the add table page, try to add an oracle view, it will fail.
The text was updated successfully, but these errors were encountered: