From 18d788d1b8add6dae3c16eedac76df3532673ade Mon Sep 17 00:00:00 2001 From: Soham Ratnaparkhi Date: Tue, 10 May 2022 11:16:02 +0530 Subject: [PATCH] refractor: Fix typo of PhysicalAggrerationNode #1770: There are 3 instances in this file wherein, PhysicalAggrerationNode has been replaced with PhysicalAggregationNode --- hybridse/src/vm/transform.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hybridse/src/vm/transform.cc b/hybridse/src/vm/transform.cc index d217d066cc3..08b4c15201b 100644 --- a/hybridse/src/vm/transform.cc +++ b/hybridse/src/vm/transform.cc @@ -213,7 +213,7 @@ Status BatchModeTransformer::InitFnInfo(PhysicalOpNode* node, } case kAggregation: { // Code generation for having condition - CHECK_STATUS(GenHavingFilter(&(dynamic_cast(node))->having_condition_, + CHECK_STATUS(GenHavingFilter(&(dynamic_cast(node))->having_condition_, project_op->producers()[0]->schemas_ctx())); break; } @@ -1183,8 +1183,8 @@ Status BatchModeTransformer::CreatePhysicalProjectNode( break; } case kAggregation: { - PhysicalAggrerationNode* agg_op = nullptr; - CHECK_STATUS(CreateOp(&agg_op, depend, + PhysicalAggregationNode* agg_op = nullptr; + CHECK_STATUS(CreateOp(&agg_op, depend, column_projects, having_condition)); *output = agg_op; break;