Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions superset-frontend/src/SqlLab/components/ResultSet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const ResultSet = ({
'dbId',
'tab',
'sql',
'executedSql',
'sqlEditorId',
'templateParams',
'schema',
Expand Down Expand Up @@ -553,6 +554,7 @@ const ResultSet = ({
sql = (
<HighlightedSql
sql={query.sql}
rawSql={query.executedSql}
{...(showSqlInline && { maxLines: 1, maxWidth: 60 })}
/>
);
Expand Down
1 change: 1 addition & 0 deletions superset-frontend/src/SqlLab/reducers/sqlLab.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading