Simplifies OrderByCrossPartitionQueryPipelineStage to remove state and be a static class. Since we can now statically detect no streaming order by queries, the OrderByCrossPartitionQueryPipelineStage can be simplified considerably.
We also add more handling for splits/merges for the non streaming order by pipeline stage.
Improve test coverage for split/merge handling as well as stronger validation for query charges.
Related changes:
4362 , #4446, #4459, #4492
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Description
Simplifies
OrderByCrossPartitionQueryPipelineStage
to remove state and be a static class. Since we can now statically detect no streaming order by queries, theOrderByCrossPartitionQueryPipelineStage
can be simplified considerably.We also add more handling for splits/merges for the non streaming order by pipeline stage.
Improve test coverage for split/merge handling as well as stronger validation for query charges.
Related changes:
4362 , #4446, #4459, #4492
Type of change