asdi744 opened a new issue #13272: URL: https://github.com/apache/superset/issues/13272
I am trying to upgrade `superset` from version 0.35.2 to 1.0.1 ### Expected results `superset db upgrade` command should migrate my default db compatible to v 1.0.1 ### Actual results `superset db upgrade` failed with the following error sqlalchemy.exc.IntegrityError: (psycopg2.errors.NotNullViolation) column "table_name" contains null values [SQL: ALTER TABLE tables ALTER COLUMN table_name SET NOT NULL] #### Screenshots <img width="1068" alt="Screenshot 2021-02-22 at 16 11 29" src="https://user-images.githubusercontent.com/4865462/108700589-a1492880-7528-11eb-830f-5400f69a2463.png"> #### How to reproduce the bug 1. pip install apache-superset 2. superset db upgrade ### Environment (please complete the following information): - superset version: `1.0.1` - python version: `3.7.3` - flask version: `1.1.2` - Werkzeug version `1.0.1` ### Checklist Make sure to follow these steps 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. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
