[sql lab] preserve schema through visualize flow (#4742)

* [sql lab] preserve schema through visualize flow

https://github.com/apache/incubator-superset/pull/4696 got tangled
into refactoring views out of views/core.py and onto views/sql_lab.py

This is the same PR without the refactoring.

* Fix lint
This commit is contained in:
Maxime Beauchemin
2018-04-04 13:38:37 -07:00
committed by GitHub
parent 9a79d33e0d
commit 3b7e0a951a
6 changed files with 38 additions and 2 deletions

View File

@@ -269,6 +269,7 @@ describe('VisualizeModal', () => {
chartType: wrapper.state().chartType.value,
datasourceName: wrapper.state().datasourceName,
columns: wrapper.state().columns,
schema: 'test_schema',
sql: wrapper.instance().props.query.sql,
dbId: wrapper.instance().props.query.dbId,
});