Editing an existing schedule for Chart Email Delivery breaks with an error
Try to modify the schedule of a chart added for email delivery
Expected results
The schedule will get modified based on given input
Actual results
Getting below error
Screenshots

How to reproduce the bug
Go to Manage -> Chart Email Schedule Click on edit record option for an existing schedule Modify the given schedule On save you get error as given below
Environment
(please complete the following information):
superset version: 0.33.0rc1 python version: 3.6.9
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
- [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [x] I have reproduced the issue with at least the latest released version of superset.
- [x] 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.
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.95. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Please Update your superset version and the error will be fixed!
Please Update your superset version and the error will be fixed!
I updated. Now the above issue is gone. But instead lots of other functionalities are breaking Like rendering chart, refreshing druid datasource etc The error seems to be consistent and is in lines of the below
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1246, in _execute_context cursor, statement, parameters, context File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 581, in do_execute cursor.execute(statement, parameters) psycopg2.ProgrammingError: column metrics.is_restricted does not exist LINE 1: ...type, metrics.description AS metrics_description, metrics.is...
Looks like issue with metadata objects stored in sqlite
Actually because of you need to migrate you database to the latest version. Please be sure to follow the documentation
how to migrate the database to latest version? Can you please point me to the correct documentation? my superset instance is using postgre as the metadatastore
Please read this: https://superset.incubator.apache.org/installation.html#upgrading
Ok. I finally created a new copy of the db after the upgrade and then it worked. Otherwise it was giving above error. In my case the metadatastore was initially setup in postgre
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.