zeek/testing/btest/Baseline/cluster.generic.publish-vec-hole
Arne Welzel 7092db6318 broker/Data/data_to_val: Fail on vectors/lists with holes
Instead of simply removing holes from vectors or lists when converting
from Val to Broker format, error out as the receiver has no chance to
reconstruct where the hole might have been.

We could encode holes with broker::none, but this will put unnecessary
burden on language bindings and users due to the potential optionality.
Think a std::vector<uint64_t> that technically needs to be a
std::vector<std::optional<uint64_t>> to represent optional elements
properly.

Closes #3045
2025-04-28 18:23:37 +02:00
..
..manager..stderr broker/Data/data_to_val: Fail on vectors/lists with holes 2025-04-28 18:23:37 +02:00
..manager..stdout broker/Data/data_to_val: Fail on vectors/lists with holes 2025-04-28 18:23:37 +02:00
..worker-1..stderr broker/Data/data_to_val: Fail on vectors/lists with holes 2025-04-28 18:23:37 +02:00
..worker-1..stdout broker/Data/data_to_val: Fail on vectors/lists with holes 2025-04-28 18:23:37 +02:00