Files
greptimedb/src
dennis zhuang 8c861ced8b fix(mito2): apply time predicates before last-row selection on narthex reads (#10664)
* fix(mito2): apply narthex time filters before row selection

Narthex prepared reads applied every predicate conjunct after the merge,
where a LastRow selector had already kept one row per series. A time
predicate that is not a plain range (`ts != x`, `ts IN (..)`) then
rejected the selected row and the series disappeared, while other formats
return the newest matching row.

Time-only conjuncts commute with dedup on (series, time), so run them on
each sample source before the merge and keep the rest after it.

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* docs(mito2): note why hoisted time filters are never volatile

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

---------

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
2026-11-27 10:24:53 +00:00
..
2026-11-26 18:40:08 +08:00
2026-11-26 18:40:08 +08:00
2026-11-26 18:40:08 +08:00
2026-11-26 18:40:08 +08:00
2026-11-26 18:40:08 +08:00