approx_percentile_cont_with_weight
result type changed from datafusion v39 to v40
#11874
Labels
bug
Something isn't working
Describe the bug
In
datafusion:v39.0.0
, callingapprox_percentile_cont_with_weight
on aninteger
column produced aninteger
result.In
datafusion:v40.0.0
, callingapprox_percentile_cont_with_weight
on aninteger
column produces afloat
result.To Reproduce
v39.0.0 behavior
Setup
Output
v40.0.0 behavior
Setup
Output
Expected behavior
I would have expected the return type to remain consistent, though I am unsure what
datafusion
uses as the canonical implementation.SQL Server
does look like it should return a floatAdditional context
approx_percentile_cont_with_weight
was converted to a UDAF between v39 and v40.#10917
The text was updated successfully, but these errors were encountered: