-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
404 on GET and DELETE on tableschemaview for Admin role user with all permissions on TableSchemaView for 3.0.0 #26286
Comments
Hi @rajivpatki. Does this error happen with the latest stable release 3.0.2? |
Yes, I still get both errors along with an additional 404: "GET /static/appbuilder/select2/select2-bootstrap-theme.css HTTP/1.1" |
After a little bit of digging this seems to an issue with DuckDB. The above works fine for Postgres but not for DuckDB. It throws an error if you do
|
Tagging some folks that have more context on the DuckDB integration. @betodealmeida @rusackas @villebro @eschutho |
There's a possibility this might have been caused by recent change to DuckDB-engine (sqlalchemy driver) as well: Mause/duckdb_engine#835 |
The problem is that |
@guenp @Mause duckdb-engine 0.9.5 solves for the metadata in the SQL Lab pane. Thank you for that! For Preview within SQL Lab for the selected table the error in the Preview subtab on SQL Lab in Superset 3.0.2 I still get:
In logs:
I have tested this with docker image |
@rajivpatki , Great news! The last bug you're seeing should be fixed by #26281, although I am not sure it will be included in superset 3.0.3. We might need to wait until the release after next or you could try |
@guenp @rajivpatki #26281 will be included in 3.0.3. It was already cherry-picked into the 3.0 branch. |
A clear and concise description of what the bug is:
I am the admin for Superset 3.0.0. When in SQL Lab I click on a table (from DuckDB), I get an error message at the bottom right corner that says "An error occurred while fetching table metadata" and on selecting two tables "An error occurred while removing the table schema. Please contact your administrator."
The logs show:
404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
superset | 192.168.176.1 - - [15/Dec/2023:18:59:38 +0000] "GET /tableschemaview/dtvBbokbR HTTP/1.1" 404 0 "-"
^ Same 404 error for DELETE on tableschemaview
How to reproduce the bug
This bug did not exist earlier for me and I could see a preview of the schema of the table I was requesting.
Expected results
The table schema preview loads in the left pane of the SQL Lab
Actual results
Error box in bottom right corner
Environment
3.0.0
from docker image superset:3.0.0
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
The text was updated successfully, but these errors were encountered: