(
&mut self,
task: &ExecutionTask,
tid: u64,
op: &QueryOp,
)
| 14 | |
| 15 | impl CoreLoop { |
| 16 | pub(super) fn dispatch_query( |
| 17 | &mut self, |
| 18 | task: &ExecutionTask, |
| 19 | tid: u64, |
| 20 | op: &QueryOp, |
| 21 | ) -> Response { |
| 22 | match op { |
| 23 | QueryOp::Aggregate { |
| 24 | collection, |
| 25 | group_by, |
| 26 | aggregates, |
| 27 | filters, |
| 28 | having, |
| 29 | limit, |
| 30 | sub_group_by, |
| 31 | sub_aggregates, |
| 32 | grouping_sets, |
| 33 | sort_keys, |
| 34 | } => self.execute_aggregate( |
| 35 | task, |
| 36 | tid, |
| 37 | collection, |
| 38 | group_by, |
| 39 | aggregates, |
| 40 | filters, |
| 41 | having, |
| 42 | *limit, |
| 43 | sub_group_by, |
| 44 | sub_aggregates, |
| 45 | grouping_sets, |
| 46 | sort_keys, |
| 47 | ), |
| 48 | |
| 49 | QueryOp::HashJoin { |
| 50 | left_collection, |
| 51 | right_collection, |
| 52 | left_alias, |
| 53 | right_alias, |
| 54 | on, |
| 55 | join_type, |
| 56 | limit, |
| 57 | projection, |
| 58 | post_filters, |
| 59 | inline_left, |
| 60 | inline_right, |
| 61 | inline_left_bitmap, |
| 62 | inline_right_bitmap, |
| 63 | .. |
| 64 | } => self.execute_hash_join(HashJoinParams { |
| 65 | join: JoinParams { |
| 66 | task, |
| 67 | on, |
| 68 | join_type, |
| 69 | limit: *limit, |
| 70 | projection, |
| 71 | post_filter_bytes: post_filters, |
| 72 | }, |
| 73 | tid, |
no test coverage detected