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.

Editing dataset to change database it points on

See original GitHub issue

We use several Timescale DB databases. Some tables have been migrated from one DB (DB1) to another (DB2). There are datasets pointing on tables from DB1, that we would like to edit to point on DB2.

Expected results

The Dataset editing window seemingly allows us to edit the Database, schema and table, so that we could edit a dataset to point on a table from DB2 rather than from DB1.

superset_edit_dataset_window

Actual results

But when we click save on that window, nothing happens and the dataset is unchanged, it still points to the same table from DB1. We tried syncing columns from datasource before saving, the result is still the same. It doesn’t seem to be linked to roles or permissions, as it happens even with admin role.

To clarify, table name and table schema are the same in DB1 and DB2, the only part that we need to change is the Database.

Environment

(please complete the following information):

  • superset version: 1.0.1

Is it possible to edit a dataset to point on a table from a different database? If it is not possible, it should be made clearer in the editing window.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cccs-tomcommented, Jul 29, 2021

I just experienced this as well On Superset 1.2.0. The UI reports that the changes were saved successfully, but nothing actually changes. I checked the logs and I see no errors.

0reactions
vnktshcommented, Mar 17, 2022

I have same issue, both in New and LegacyDataEditor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Edit data in datasets - Visual Studio (Windows) - Microsoft Learn
Learn to edit data in datasets. Know how to edit dataset rows, insert new rows into a dataset, determine if there are changed...
Read more >
Changing the Database a Catalog Points To - IBM
1. From the Catalog menu, click Databases. 2. Select the definition you wish to change, and then click Edit. 2. Change the necessary ......
Read more >
Edit an Existing Dataset - Analytics Cloud - Oracle Help Center
You can modify data models by editing the datasets of a data model. To edit an existing dataset: On the component pane of...
Read more >
Editing datasets - Amazon QuickSight
On the Datasets page that opens, choose the dataset that you want to edit, and then choose Edit dataset at upper right. Edit...
Read more >
Tutorial: Perform web editing using data from a database ...
You will grant the data editor privileges to edit the data to be published ... class under the database connection in the Catalog...
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