Closed cgivre closed 1 year ago
Adds a UDF to calculate the median of a column.
This PR also removes the Deprecated tag from the ObjectHolder since that is in wide usage throughout Drill and we have no plans or work to refactor that any time soon.
Deprecated
ObjectHolder
Usage: median(n)
median(n)
See above...
Added unit tests
@jnturton I reverted the deprecation for this. Any other comments?
DRILL-8434: Add Median Function
Description
Adds a UDF to calculate the median of a column.
This PR also removes the
Deprecated
tag from theObjectHolder
since that is in wide usage throughout Drill and we have no plans or work to refactor that any time soon.Usage:
median(n)
Documentation
See above...
Testing
Added unit tests