fgvieira opened a new issue, #29288:
URL: https://github.com/apache/superset/issues/29288

   ### Bug description
   
   Installed `superset` using conda and, while running `superset db upgrade` I 
get some warnings:
   ```
   
envs/superset/lib/python3.11/site-packages/superset/migrations/versions/2024-01-17_13-09_96164e3017c6_tagged_object_unique_constraint.py:58:
 SAWarning: WARNING: SQL-parsed foreign key constraint '('database_id', 'dbs', 
'id')' could not be located in PRAGMA foreign_keys for table tab_state
     metadata.reflect(bind=bind)
   
envs/superset/lib/python3.11/site-packages/superset/migrations/versions/2024-01-17_13-09_96164e3017c6_tagged_object_unique_constraint.py:58:
 SAWarning: WARNING: SQL-parsed foreign key constraint '('latest_query_id', 
'query', 'client_id')' could not be located in PRAGMA foreign_keys for table 
tab_state
     metadata.reflect(bind=bind)
   
envs/superset/lib/python3.11/site-packages/superset/migrations/versions/2024-01-17_13-09_96164e3017c6_tagged_object_unique_constraint.py:58:
 SAWarning: WARNING: SQL-parsed foreign key constraint '('database_id', 'dbs', 
'id')' could not be located in PRAGMA foreign_keys for table table_schema
     metadata.reflect(bind=bind)
   ```
   
   
   ### How to reproduce the bug
   
   1. `micromamba env create --name superset -c conda-forge superset pillow 
psycopg2-binary`
   2. `export FLASK_APP=superset`
   3. `export SUPERSET_CONFIG_PATH=/var/superset/config.py` (the same as in 
[here](https://superset.apache.org/docs/configuration/configuring-superset/))
   4. `superset db upgrade`
   
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   4.0.1
   
   ### Python version
   
   3.11
   
   ### Node version
   
   I don't know
   
   ### Browser
   
   Firefox
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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

To unsubscribe, e-mail: [email protected]

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