andygrove opened a new issue, #2505: URL: https://github.com/apache/arrow-datafusion/issues/2505
**Describe the bug** We have a hard-coded `distinct = false` parameter in `ballista/rust/core/src/serde/physical_plan/mod.rs`. ``` rust Ok(create_aggregate_expr( &aggr_function.into(), false, // <-- hard-coded "distinct" input_phy_expr.as_slice(), &physical_schema, name.to_string(), )?) ``` **To Reproduce** Try running a `COUNT(DISTINCT expr)` in Ballista **Expected behavior** We need to include the distinct flag in the protobuf for aggregate queries and implement the appropriate serde code. **Additional context** None -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org