You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SUM(CASE WHEN TOTAL_ELAPSED_TIME <1000 THEN TOTAL_ELAPSED_TIME ELSE 0 END) AS LT_1,
It seems like the THEN condition in this line should be 1 instead of TOTAL_ELAPSED_TIME. As written, the query is counting all the other buckets, but summing time for the first one.
The text was updated successfully, but these errors were encountered:
sf-samples/samples/workload-optimization-queries/AccountUsage/Performance/PERF-AU-04-query-type-bucket.sql
Line 113 in 04a4120
It seems like the THEN condition in this line should be 1 instead of TOTAL_ELAPSED_TIME. As written, the query is counting all the other buckets, but summing time for the first one.
The text was updated successfully, but these errors were encountered: