Skip to content

Commit

Permalink
simplify check for perf insights
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeleo committed Aug 10, 2023
1 parent 6d9b40c commit d35680a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/optimization/query_performance_insights.sql
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,9 @@ WHERE
FROM UNNEST(
query_info.performance_insights.stage_performance_standalone_insights
) AS perf_insight
WHERE
perf_insight.slot_contention
OR perf_insight.insufficient_shuffle_quota
UNION ALL
SELECT 1
FROM UNNEST(
query_info.performance_insights.stage_performance_change_insights
) AS perf_insight
WHERE
perf_insight.input_data_change.records_read_diff_percentage IS NOT NULL
);

0 comments on commit d35680a

Please sign in to comment.