[sql lab] option to disable cross schema search (#4551)

* [sql lab] disable cross schema search

This is killing our metastore as people type it emits large
all-table-dump as they hit the keystroke. It never returns as it times
out and hammers the poor metastore.

Also some improvements around the disabling the table select on the left
panel and having the table name not be sticky.

* typo
This commit is contained in:
Maxime Beauchemin
2018-03-09 14:54:39 -08:00
committed by GitHub
parent 34a081b926
commit d522292b01
7 changed files with 59 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ describe('SqlEditorLeftBar', () => {
},
tables: [table],
queryEditor: defaultQueryEditor,
database: {},
height: 0,
};

View File

@@ -51,6 +51,7 @@ describe('TabbedSqlEditors', () => {
tabHistory: initialState.tabHistory,
editorHeight: '',
getHeight: () => ('100px'),
database: {},
};
const getWrapper = () => (
shallow(<TabbedSqlEditors {...mockedProps} />, {