eschutho commented on PR #43259:
URL: https://github.com/apache/superset/pull/43259#issuecomment-5317624155

   @richardfogaca — assigning you as reviewer on this one. 🦉
   
   **What it is:** a bare numpy callable (e.g. `np.median`) passed to 
`GroupBy.agg` in the *callable-operator* branch of `_get_aggregate_funcs` was 
emitting a live production `FutureWarning` (surfaced via Datadog at 
`pandas_postprocessing/aggregate.py:46`). The fix maps such callables to their 
equivalent pandas string name, reusing the existing `NUMPY_FUNCTIONS` / 
`_PANDAS_STRING_AGGREGATORS` constants. No behavior change (identical 
values/dtypes), with a regression test that runs under `simplefilter("error", 
FutureWarning)`.
   
   **Why you:** small, self-contained `change:backend` Superset OSS fix 
(`superset/utils/pandas_postprocessing/utils.py` + unit test), no CODEOWNERS 
gate, and you're the best-fit backend generalist by current load. Should be a 
quick one.
   
   _No Shortcut ticket is linked yet — flagged separately to the author._


-- 
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