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.

[table editor] Change virtual dataset won't work

See original GitHub issue

How to reproduce the bug

  1. Go to a chart using virtual dataset, which has sql query

  2. Click on Edit dataset

  3. change sql: (in my case, change > '2021-07-01' to = '2021-07-01' ) Screen Shot 2021-08-06 at 12 06 53 PM

  4. save it

  5. It looks dataset is updated with success message

  6. But if you open Edit dataset modal, yo will see old sql

  7. in the API, you can see the old sql is sent out in the update API: Screen Shot 2021-08-06 at 12 07 26 PM

Environment

(please complete the following information):

  • 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

cc @junlincc

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
junlincccommented, Aug 6, 2021

thanks for filing, we also noticed it. moved it to p0 this is pretty sever so we are picking it up from you guys. @eschutho

0reactions
zhaoyongjiecommented, Aug 7, 2021

@graceguo-supercat I am on it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Columns list are not updated on chart editor after ... - GitHub
You are right, after SAVE the columns should be automatically updated. The workaround to resolve the issues is to save the new virtual...
Read more >
How to Edit Virtual Data Sets with the Dremio Semantic Layer
From the transformation menu on the city column, select Group by, and don't add any measures. Identifying unique values. Click Apply to see...
Read more >
Solved: New column in source table not appearing in datase...
The only way I've been able to get new columns to appear is to change the Source line in the Advanced Editor. Specifically,...
Read more >
Change the source data for a PivotTable - Microsoft Support
On the Analyze tab, in the Data group, click Change Data Source, and then click Change Data Source. The Change PivotTable Data Source...
Read more >
Data editor | DataGrip Documentation - JetBrains
To make this mode a default for tables and views, open settings by pressing Ctrl+Alt+S and navigate to Database | Data Views and...
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