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

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Upgrade helm chart to current one
   2. Get superset:latest (which is only god knows what) as image
   3. init-db failed with the message:
   ```
   >> Copy 56 metrics to sl_columns...
      Link metric columns to datasets...
   >> Run postprocessing on 700 columns
   <string>:3: SAWarning: TypeDecorator UUIDType() will not produce a cache key 
because the ``cache_ok`` attribute is not set to True.  This can have 
significant performance implications including some performance degradations in 
comparison to prior SQLAlchemy versions.  Set this attribute to True if this 
type object's state is safe to use in a cache key, or False to disable this 
warning. (Background on this error at: https://sqlalche.me/e/14/cprf)
   
/app/superset/migrations/versions/2022-04-01_14-38_a9422eeaae74_new_dataset_models_take_2.py:732:
 SAWarning: TypeDecorator UUIDType() will not produce a cache key because the 
``cache_ok`` attribute is not set to True.  This can have significant 
performance implications including some performance degradations in comparison 
to prior SQLAlchemy versions.  Set this attribute to True if this type object's 
state is safe to use in a cache key, or False to disable this warning. 
(Background on this error at: https://sqlalche.me/e/14/cprf)
     count = session.query(func.count()).select_from(query).scalar()
   Traceback (most recent call last):
     File "/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/base.py", 
line 1819, in _execute_context
       self.dialect.do_execute(
     File 
"/usr/local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 
732, in do_execute
       cursor.execute(statement, parameters)
   psycopg2.errors.DuplicateAlias: table name "sl_columns" specified more than 
once
   
   ```


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