Files
greptimedb/tests/compatibility/wire
discord9 c703229c16 refactor(series): hold the frame layout marker at one value
The series frame is the native PromQL path's internal transport and has never shipped, so its
layout marker can only ever tell two binaries of different workspace revisions apart - and a
workspace builds one revision. Carrying a revision number in it bought nothing and could only make
a stale local binary fail against a freshly built one, so it goes back to a single value and stays
there.

The reader still refuses a frame that declares any other value: that check is what turns a
mismatched producer into an error instead of values decoded under the wrong columns. Only the value
it expects changes.

The two wire fixtures under tests/compatibility/wire/ are renamed to match and their literal
metadata maps retargeted; the cases that exist to be the wrong layout now use the value that is not
current, so they still test what they were written to test.

Verified: datatypes+common-query 565 passed / 0 failed; promql+query 2192 passed / 0 failed / 2
skipped; cargo fmt --check clean.

Signed-off-by: discord9 <discord9@163.com>
2026-11-06 11:57:32 +08:00
..