@@ -3139,21 +3139,25 @@ async fn planning_inplace_aggregate2(service: Box<dyn SqlClient>) {
31393139 ) ;
31403140 assert_eq ! (
31413141 pp_phys_plan_ext( p. worker. as_ref( ) , & verbose) ,
3142- "Projection, [url, SUM (Data.hits)@1:hits]\
3142+ "Projection, [url, sum (Data.hits)@1:hits]\
31433143 \n AggregateTopK, limit: 10, sortBy: [2 desc null last]\
31443144 \n Worker, sort_order: [1]\
3145- \n Sort, by: [SUM(hits)@1 desc nulls last], sort_order: [1]\
3146- \n FullInplaceAggregate, sort_order: [0]\
3147- \n MergeSort, single_vals: [0, 1], sort_order: [0, 1, 2]\
3148- \n Union, single_vals: [0, 1], sort_order: [0, 1, 2]\
3149- \n Filter, single_vals: [0, 1], sort_order: [0, 1, 2]\
3150- \n MergeSort, sort_order: [0, 1, 2]\
3151- \n Scan, index: default:1:[1]:sort_on[allowed, site_id, url], fields: *, sort_order: [0, 1, 2]\
3152- \n Empty\
3153- \n Filter, single_vals: [0, 1], sort_order: [0, 1, 2]\
3154- \n MergeSort, sort_order: [0, 1, 2]\
3155- \n Scan, index: default:2:[2]:sort_on[allowed, site_id, url], fields: *, sort_order: [0, 1, 2]\
3156- \n Empty"
3145+ \n Sort, by: [sum(Data.hits)@1 desc nulls last], sort_order: [1]\
3146+ \n LinearSingleAggregate\
3147+ \n CoalescePartitions\
3148+ \n Union\
3149+ \n CoalescePartitions\
3150+ \n CoalesceBatchesExec\
3151+ \n Filter\
3152+ \n Scan, index: default:1:[1], fields: *, sort_order: [0, 1, 2, 3, 4]\
3153+ \n Sort, by: [allowed@0, site_id@1, url@2, day@3, hits@4], sort_order: [0, 1, 2, 3, 4]\
3154+ \n Empty\
3155+ \n CoalescePartitions\
3156+ \n CoalesceBatchesExec\
3157+ \n Filter\
3158+ \n Scan, index: default:2:[2], fields: *, sort_order: [0, 1, 2, 3, 4]\
3159+ \n Sort, by: [allowed@0, site_id@1, url@2, day@3, hits@4], sort_order: [0, 1, 2, 3, 4]\
3160+ \n Empty"
31573161 ) ;
31583162}
31593163
0 commit comments