Skip to content

Gate the fallback stream counter on not(direct_arrow_insert) - #2

Merged
austin-barrington merged 1 commit into
mainfrom
fix/direct-arrow-insert-unused
Oct 17, 2026
Merged

austin-barrington merged 1 commit into
mainfrom
fix/direct-arrow-insert-unused

Conversation

@austin-barrington

Copy link
Copy Markdown
Member

Against an engine with chdb_insert_arrow_array (libchdb 26.9.0), FALLBACK_STREAM_SEQ and its Ordering import are unused, so a RUSTFLAGS=-D warnings build fails. hyperbytedb's CI builds this crate that way against the latest engine (its Clippy job on hyperbyte-cloud/hyperbytedb#116).

Both now carry the same #[cfg(not(direct_arrow_insert))] as their only use. Builds with -D warnings against 26.9.0 (direct insert) and the older local engine (fallback).

With an engine that inserts Arrow arrays directly (libchdb 26.9.0),
FALLBACK_STREAM_SEQ and its Ordering import were unused, and a build
with RUSTFLAGS=-D warnings failed on them. hyperbytedb's CI builds this
crate that way against the latest engine, so its Clippy job failed.
@austin-barrington
austin-barrington merged commit ecb8c04 into main Oct 17, 2026
@austin-barrington
austin-barrington deleted the fix/direct-arrow-insert-unused branch October 17, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant