mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
[sqllab] proper, quoted, select * on the server side (#1404)
* [sqllab] proper, quoted, select * on the server side * fixing tests
This commit is contained in:
committed by
GitHub
parent
4f886d65ec
commit
63161b11c3
@@ -82,15 +82,12 @@ class SqlEditorLeftBar extends React.Component {
|
||||
|
||||
this.setState({ tableLoading: true });
|
||||
$.get(url, (data) => {
|
||||
this.props.actions.mergeTable({
|
||||
this.props.actions.mergeTable(Object.assign(data, {
|
||||
dbId: this.props.queryEditor.dbId,
|
||||
queryEditorId: this.props.queryEditor.id,
|
||||
name: data.name,
|
||||
indexes: data.indexes,
|
||||
schema: qe.schema,
|
||||
columns: data.columns,
|
||||
expanded: true,
|
||||
});
|
||||
}));
|
||||
this.setState({ tableLoading: false });
|
||||
})
|
||||
.fail(() => {
|
||||
|
||||
Reference in New Issue
Block a user