mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-29 22:24:02 +00:00
fix(promql): declare float columns for a float function over a split histogram sum `histogram_count(sum(h))` and `histogram_quantile(0.9, sum(rate(h[2m])))` over native histograms failed to plan on the native route: the split counted the statement's value columns by the type of the exported state (a histogram), while the columns carry the root's kind (Float), so it counted zero and returned a plan error. Count value columns of either value type; the layout declares one kind for all of them. Signed-off-by: Dennis Zhuang <killme2008@gmail.com>