question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dataset creating issues in SQL Lab

See original GitHub issue

I found 2 interesting bugs when we want to create a dataset in SQL Lab:

  1. 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:02 name but input has qwe1 name
  2. [FIXED] When we reload page and create a duplicate name of dataset for example name=qwe1 then 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

https://user-images.githubusercontent.com/29536522/187712014-c11971cb-1634-4287-a540-163eba57b83a.mov

https://user-images.githubusercontent.com/29536522/187713956-c98bf383-b42f-49b4-b82e-5684272f4a7a.mov

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:closed
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kgabryjecommented, Aug 31, 2022

@yousoph Should this get prioritized?

0reactions
AAfghahicommented, Sep 1, 2022

@EugeneTorap sure i can look into it.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found