Skip to content

Commit

Permalink
deduce props
Browse files Browse the repository at this point in the history
  • Loading branch information
xtcyclist committed Dec 27, 2022
1 parent 45f5bfd commit 71f2744
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/graph/validator/GroupByValidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ Status GroupByValidator::validateYield(const YieldClause* yieldClause) {
aggOutputColNames_.emplace_back(agg->toString());
groupItems_.emplace_back(agg->clone());
needGenProject_ = true;
ExpressionProps yieldProps;
NG_RETURN_IF_ERROR(deduceProps(agg, yieldProps));
exprProps_.unionProps(std::move(yieldProps));
}
if (!aggs.empty()) {
auto* colRewrited = ExpressionUtils::rewriteAgg2VarProp(colExpr->clone());
Expand Down

0 comments on commit 71f2744

Please sign in to comment.