You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/07/22 17:46:18 UTC

[GitHub] [superset] nigzak opened a new issue, #20831: load_examples seems not fully compatible with superset 2.0.0 (warnings in log, deprecation warnings in UI)

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

   load_examples seems not fully compatible with superset 2.0.0 and produces issues 
   => script should be updated
   
   #### How to reproduce the bug
   
   load latest container from dockerhub (2.0.0)
   create admin user   superset fab create-admin ....
   execute  "superset load_examples"
   
   ### Expected results
   no warnings
   
   ### Actual results
   warnings are in the logfile
   
   ```
   ...
   logging was configured successfully
   2022-07-22 17:39:31,440:INFO:superset.utils.logging_configurator:logging was configured successfully
   2022-07-22 17:39:31,452:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
   Creating database reference for examples
   2022-07-22 17:39:33,359:INFO:superset.utils.database:Creating database reference for examples
   Loading examples metadata and related data into examples
   Creating default CSS templates
   Loading [World Bank's Health Nutrition and Population Stats]
   Creating table [wb_health_population] reference
   /usr/local/lib/python3.8/site-packages/sqlalchemy/orm/session.py:2545: SAWarning: Usage of the 'related attribute set' operation is not currently supported within the execution stage of the flush process. Results may not be consistent.  Consider using alternative event listeners or connection-level operations instead.
     util.warn(
   /usr/local/lib/python3.8/site-packages/sqlalchemy/orm/session.py:2545: SAWarning: Usage of the 'collection append' operation is not currently supported within the execution stage of the flush process. Results may not be consistent.  Consider using alternative event listeners or connection-level operations instead.
     util.warn(
   /usr/local/lib/python3.8/site-packages/sqlalchemy/orm/session.py:2545: SAWarning: Usage of the 'Session.add()' operation is not currently supported within the execution stage of the flush process. Results may not be consistent.  Consider using alternative event listeners or connection-level operations instead.
     util.warn(
   /usr/local/lib/python3.8/site-packages/sqlalchemy/orm/session.py:2660: SAWarning: Attribute history events accumulated on 6 previously clean instances within inner-flush event handlers have been reset, and will not result in database updates. Consider using set_committed_value() within inner-flush event handlers to avoid this warning.
     util.warn(
   Creating a World's Health Bank dashboard
   Loading [Birth names]
   Done loading table!
   ...
   ```
   
   
   ### 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.
   
   
   ### addition
   
   the created dashboards seems to be using deprecated functions
   
   ![image](https://user-images.githubusercontent.com/102737855/180495265-141d2e3b-b16c-4469-b719-6739648fe4ab.png)
   


-- 
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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] load_examples seems not fully compatible with superset 2.0.0 (warnings in log, deprecation warnings in UI) [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #20831:
URL: https://github.com/apache/superset/issues/20831#issuecomment-1810754822

   Closing this old issue as a lot of this has changed, filter boxes are deprecated in favor of native filters, etc.  Thanks @sebastianliebscher for finding this one 🙏 


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] srinify commented on issue #20831: load_examples seems not fully compatible with superset 2.0.0 (warnings in log, deprecation warnings in UI)

Posted by GitBox <gi...@apache.org>.
srinify commented on issue #20831:
URL: https://github.com/apache/superset/issues/20831#issuecomment-1201520380

   Hey @nigzak this isn't a bug per say but something we should absolutely improve. Now that dashboard native filters are no longer behind a feature flag, we can replace these filter box elements with native filters.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] load_examples seems not fully compatible with superset 2.0.0 (warnings in log, deprecation warnings in UI) [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke closed issue #20831: load_examples seems not fully compatible with superset 2.0.0 (warnings in log, deprecation warnings in UI)
URL: https://github.com/apache/superset/issues/20831


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org