mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Implement create view as functionality (#9794)
Implement create view as button in sqllab Make CVAS configurable Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
@@ -97,6 +97,11 @@ export const addSuccessToast = addSuccessToastAction;
|
||||
export const addDangerToast = addDangerToastAction;
|
||||
export const addWarningToast = addWarningToastAction;
|
||||
|
||||
export const CtasEnum = {
|
||||
TABLE: 'TABLE',
|
||||
VIEW: 'VIEW',
|
||||
};
|
||||
|
||||
// a map of SavedQuery field names to the different names used client-side,
|
||||
// because for now making the names consistent is too complicated
|
||||
// so it might as well only happen in one place
|
||||
@@ -346,6 +351,7 @@ export function runQuery(query) {
|
||||
tab: query.tab,
|
||||
tmp_table_name: query.tempTableName,
|
||||
select_as_cta: query.ctas,
|
||||
ctas_method: query.ctas_method,
|
||||
templateParams: query.templateParams,
|
||||
queryLimit: query.queryLimit,
|
||||
expand_data: true,
|
||||
|
||||
Reference in New Issue
Block a user