@@ -1537,8 +1537,9 @@ BEGIN
15371537 INSERT INTO
15381538 @ColumnDefinitions (column_id, metric_group, metric_type, column_name, column_source, is_conditional, condition_param, condition_value, expert_only, format_pattern)
15391539 VALUES
1540- (1600 , ' sort_order' , ' plan_hash_count' , ' plan_hash_count_for_query_hash' , ' hashes.plan_hash_count_for_query_hash' , 0 , NULL , NULL , 0 , ' N0' ),
1541- (1610 , ' sort_order' , ' query_hash' , ' query_hash_from_hash_counting' , ' hashes.query_hash' , 0 , NULL , NULL , 0 , NULL );
1540+ /* 230, so just before avg_query_duration_ms. */
1541+ (230 , ' sort_order' , ' query_hash' , ' query_hash_from_hash_counting' , ' hashes.query_hash' , 0 , NULL , NULL , 0 , NULL ),
1542+ (231 , ' sort_order' , ' plan_hash_count' , ' plan_hash_count_for_query_hash' , ' hashes.plan_hash_count_for_query_hash' , 0 , NULL , NULL , 0 , ' N0' );
15421543END ;
15431544
15441545/* Dynamic regression change column based on formatting and comparator */
@@ -1567,7 +1568,8 @@ BEGIN
15671568 INSERT INTO
15681569 @ColumnDefinitions (column_id, metric_group, metric_type, column_name, column_source, is_conditional, condition_param, condition_value, expert_only, format_pattern)
15691570 VALUES
1570- (1620 , ' sort_order' , ' wait_time' , ' total_wait_time_from_sort_order_ms' , ' waits.total_query_wait_time_ms' , 0 , NULL , NULL , 0 , ' N0' );
1571+ /* 240, so just before avg_query_duration_ms. */
1572+ (240 , ' sort_order' , ' wait_time' , ' total_wait_time_from_sort_order_ms' , ' waits.total_query_wait_time_ms' , 0 , NULL , NULL , 0 , ' N0' );
15711573END ;
15721574
15731575/* ROW_NUMBER window function for sorting */
0 commit comments