Dataset creating issues in SQL Lab
See original GitHub issueI found 2 interesting bugs when we want to create a dataset in SQL Lab:
- When we create a dataset and provide some name and then want to do it again with the same name. In second dataset creation we got
Untitled Query 7 08/31/2022 17:58:02name but input hasqwe1name - [FIXED] When we reload page and create a duplicate name of dataset for example name=
qwe1then modal window is disappeared and don’t handle error from server.
Expected results
We handle server error response and show “Dataset [qwe1] already exists” on UI side to user.
Actual results
Server error response is not handled.
Screenshots
Environment
(please complete the following information):
- browser type and version:
- superset version:
superset version - python version:
python --version - node.js version:
node -v - any feature flags active:
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. @michael-s-molina @kgabryje @villebro @lyndsiWilliams
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
3.13 Lab: Working with a SQL database - Bookdown
Now that we have our tables in the database, let's see how we can query them. First we connect using dbConnect and then...
Read more >Create SQL Lab View using Dataset REST API #10311 - GitHub
I wanted to create the resources in Superset using the FAB Model REST API. However I found out that there is no possibility...
Read more >Querying and Analysis - Preset Docs
Edit a database. Select the Advanced tab. In the SQL Lab section, select the Allow CREATE TABLE AS field. CTAS_Enabled. Using CTAS.
Read more >Get Started with Oracle Database | Lab 5: Create a Schema
In this lab, you will create a user (schema), assign privileges to the user, and enable the user to log in to the...
Read more >Oracle Live SQL
This tutorial provides an introduction to the Structured Query Language (SQL), learn how to create tables with primary keys, columns, constraints, ind.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@yousoph Should this get prioritized?
@EugeneTorap sure i can look into it.