pub fn with_flat_lists<T>(on: bool, f: impl FnOnce() -> T) -> T
Run f with flat (columnar-free) list encoding forced on/off, restoring the prior value.
f