mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-21 10:14:06 +00:00
Remove the last hybrid composition: when a native statement is refused as a whole but each side is independently admissible, the sides are now compiled through the same native frame preparation, compiler and placement path the whole-native route uses and meet at a shallow native Binary, instead of the native operands being composed by the legacy planner's Join. Admission is decided by the composition itself - equal grids, the binder's matching/cardinality/fill support, the output column's kind, and the runtime execution state - rather than by a predicate that copied what the removed hybrid route used to accept. The artificial 64-level native depth cap is gone on both the construction and the decoding side, with no replacement cap, no depth-based splitting and no product stack configuration; the recursive walks that actually need it grow their stack on demand (validate, runtime build, runtime pull). Histogram binary results are preserved and their diagnostics aligned with Prometheus: an unsupported pairing synthesized by a fill now reports the same Info, and an incompatible bucket layout reports only the schema Warning instead of also reporting a reset-hint contradiction. The legacy histogram UDFs follow the same order so the two routes stay in step. Signed-off-by: discord9 <discord9@163.com>