Skip to content

Commit afa389f

Browse files
committed
refactor: Add methods for operation, string representation, and unbound aggregate check in UnboundAggregateImpl
1 parent a9b62f4 commit afa389f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/iceberg/expression/aggregate.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ class ICEBERG_EXPORT UnboundAggregateImpl : public UnboundAggregate,
8080
static Result<std::shared_ptr<UnboundAggregateImpl<B>>> Make(
8181
Expression::Operation op, std::shared_ptr<UnboundTerm<B>> term);
8282

83+
Operation op() const override { return BASE::op(); }
84+
std::string ToString() const override { return BASE::ToString(); }
85+
bool is_unbound_aggregate() const override { return true; }
86+
8387
std::shared_ptr<NamedReference> reference() override {
8488
return BASE::term() ? BASE::term()->reference() : nullptr;
8589
}

0 commit comments

Comments
 (0)