quickwit-oss/quickwit

key may not contain the 0 byte

Closed this issue · 2 comments

Apr 25 12:19:34 quickwit-indexer-17 quickwit-indexer thread 'blocking-5' panicked at /usr/local/cargo/git/checkouts/tantivy-f70b7ea03dadae9a/ff40764/columnar/src/columnar/writer/mod.rs:71:5:
Apr 25 12:19:34 quickwit-indexer-17 quickwit-indexer key may not contain the 0 byte

quickwit-oss/tantivy#2379 Fixes the issue.

non-text fields had a different path for adding the column to the hashmap in the columnar storage. This path contained a 0-byte check. Zero bytes are converted during serialization in columnar, and this check can be removed.