reidlai opened a new issue #10096:
URL: https://github.com/apache/incubator-superset/issues/10096


   
   
   ### Expected results
   I am expecting superset can run all migrations successfully in create schema 
in brand new database with Cockroachdb Alchemy dialect and driver
   
   After running "superset upgrade", "superset init", and "superset run", 
superset flask app is up and all database data should be populated into 
cockroachdb tables
   
   ### Actual results
   
   Howevere, I got many errors related to the follow error during migration 
upgrade (superset upgrade):
   
   (psycopg2.errors.InvalidForeignKey) missing "id" primary key column
   
   If I switch back to use SQLLite Alchemy, it is working.
   
   #### Screenshots
   
   
[error.txt](https://github.com/apache/incubator-superset/files/4797155/error.txt)
   
   #### How to reproduce the bug
   
   just put COCKROACHDB cluster url in SQLALCHEMY_DATABASE_URI and start the 
server
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: clone from master branch, error occur when running 
superset version inside docker
   - 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.
   


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

Reply via email to