jiegzhan opened a new issue #9369: sql lab didn't select default database when 
open the first tab on superset
URL: https://github.com/apache/incubator-superset/issues/9369
 
 
   I setup these two parameters in `superset_config.py`
   ```
   # The db id here results in selecting this one as a default in SQL Lab
   DEFAULT_DB_ID = 7 # 
https://github.com/apache/incubator-superset/blob/master/superset/config.py#L512
   
   # SQLLAB_DEFAULT_DBID
   SQLLAB_DEFAULT_DBID = 7 # 
https://github.com/apache/incubator-superset/blob/master/superset/config.py#L521
   ```
   
   I don't have any tabs, then I opened the **first** tab, superset didn't 
select the default database that I setup in `superset_config.py`
   
   Is this the right way to setup default database? Or the code here didn't 
work? 
https://github.com/apache/incubator-superset/blob/master/superset-frontend/src/SqlLab/components/TabbedSqlEditors.jsx#L223

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to