Daft icon indicating copy to clipboard operation
Daft copied to clipboard

Use visitor pattern for `expr_has_agg`

Open kevinzwang opened this issue 7 months ago • 0 comments

The function expr_has_agg in src/daft-dsl/src/expr.rs currently traverses the expression by matching on all the expression types. We could use a tree visitor pattern instead to simplify it.

kevinzwang avatar Jun 28 '24 01:06 kevinzwang