micsbot opened a new pull request, #21417: URL: https://github.com/apache/superset/pull/21417
Previous code is not working. It is showing an error because the subquery is making a reference to the same table sl_columns. This code makes explicit the alias and join the tables NewColumn with the subquery. https://github.com/apache/superset/issues/20790 fix(superset db upgrade) ### SUMMARY Previous code is not working. It is showing an error because the subquery is making a reference to the same table sl_columns. This code makes explicit the alias and join the tables NewColumn with the subquery. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF ### TESTING INSTRUCTIONS run docker, and exec superset update db using a database with data from superset 1.x.x ### ADDITIONAL INFORMATION - [ X] Has associated issue: https://github.com/apache/superset/issues/20790 -- 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]
