mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
fix(sqllab): Missing executed sql value in the result table (#34846)
(cherry picked from commit b89b0bdf5d)
This commit is contained in:
@@ -196,6 +196,7 @@ const ResultSet = ({
|
||||
'dbId',
|
||||
'tab',
|
||||
'sql',
|
||||
'executedSql',
|
||||
'sqlEditorId',
|
||||
'templateParams',
|
||||
'schema',
|
||||
@@ -555,6 +556,7 @@ const ResultSet = ({
|
||||
sql = (
|
||||
<HighlightedSql
|
||||
sql={query.sql}
|
||||
rawSql={query.executedSql}
|
||||
{...(showSqlInline && { maxLines: 1, maxWidth: 60 })}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -389,6 +389,7 @@ export default function sqlLabReducer(state = {}, action) {
|
||||
results: action.results,
|
||||
rows: action?.results?.query?.rows || 0,
|
||||
state: QueryState.Success,
|
||||
executedSql: action?.results?.query?.executedSql,
|
||||
limitingFactor: action?.results?.query?.limitingFactor,
|
||||
tempSchema: action?.results?.query?.tempSchema,
|
||||
tempTable: action?.results?.query?.tempTable,
|
||||
|
||||
Reference in New Issue
Block a user