mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
feat(sqllab): TRINO_EXPAND_ROWS: expand columns from ROWs (#25809)
This commit is contained in:
@@ -307,6 +307,18 @@ export function dbReducer(
|
||||
}),
|
||||
};
|
||||
}
|
||||
if (action.payload.name === 'expand_rows') {
|
||||
return {
|
||||
...trimmedState,
|
||||
extra: JSON.stringify({
|
||||
...extraJson,
|
||||
schema_options: {
|
||||
...extraJson?.schema_options,
|
||||
[action.payload.name]: !!action.payload.value,
|
||||
},
|
||||
}),
|
||||
};
|
||||
}
|
||||
return {
|
||||
...trimmedState,
|
||||
extra: JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user