mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
feat: add separate endpoint to fetch function names for autocomplete (#12840)
* WIP * Add unit test for API * Add spec * Fix unit test * Fix unit test * Fix test * Fix test * Add period to error message
This commit is contained in:
@@ -434,6 +434,11 @@ export default function sqlLabReducer(state = {}, action) {
|
||||
dbId: action.dbId,
|
||||
});
|
||||
},
|
||||
[actions.QUERY_EDITOR_SET_FUNCTION_NAMES]() {
|
||||
return alterInArr(state, 'queryEditors', action.queryEditor, {
|
||||
functionNames: action.functionNames,
|
||||
});
|
||||
},
|
||||
[actions.QUERY_EDITOR_SET_SCHEMA]() {
|
||||
return alterInArr(state, 'queryEditors', action.queryEditor, {
|
||||
schema: action.schema,
|
||||
|
||||
Reference in New Issue
Block a user