alamb opened a new pull request, #27755:
URL: https://github.com/apache/datafusion/pull/27755

   ## Which issue does this PR close?
   
   - Follow on to https://github.com/apache/datafusion/pull/27743
   - Part of https://github.com/apache/datafusion/issues/25902
   
   ## Rationale for this change
   
   While reviewing https://github.com/apache/datafusion/pull/27743 I looked for 
other aggregate code that no longer has callers. Several `pub` helpers in 
`datafusion_physical_plan::aggregates` are not called anywhere in the 
workspace. They are public, so this PR deprecates them per the [deprecation 
guidelines](https://datafusion.apache.org/contributor-guide/api-health.html#deprecation-guidelines)
 rather than removing them.
   
   ## What changes are included in this PR?
   
   Note: this PR is stacked on https://github.com/apache/datafusion/pull/27743, 
so until that merges the diff also shows its commits. Only the last commit is 
new.
   
   Marks the following as `#[deprecated(since = "57.0.0")]`:
   
   | API | Status |
   |---|---|
   | `GroupClustering::oom_emit_to` | Only caller was the legacy 
`GroupedHashAggregateStream` removed in #27743 |
   | `aggregates::create_accumulators` | No callers before #27743 either |
   | `aggregates::finalize_aggregation` | No callers before #27743 either |
   | `aggregates::evaluate_many` | No callers before #27743 either |
   
   ## What is the testing strategy for this PR?
   
   No behavior change. The existing `test_oom_emit_to_*` unit tests are kept 
(with `#[expect(deprecated)]`) so the method stays covered until it is removed.
   
   ## Are there any user-facing changes?
   
   Yes: callers of the four functions above now get a deprecation warning. 
Nothing is removed.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to