You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sqllogictests fail in debug mode (join_full_multi_batch::batch_size_4_2) #20689
After investigating this i found out, that the root cause is a faulty debug_assert_eq! in arrow-select's BatchCoalescer that assumes Vec::reserve(n) gives exactly n capacity, which Rust doesn't guarantee.
Filed an upstream issue: apache/arrow-rs#9506
Not sure what the project's approach is for the fix here, but since it's not mission critical
(debug mode only, workaround exists via --profile=ci) it should be okay to wait for the
upstream fix.
Not sure what the project's approach is for the fix here, but since it's not mission critical (debug mode only, workaround exists via --profile=ci) it should be okay to wait for the upstream fix.
You can also do RUSTFLAGS="-C debug-assertions=no" (I'm hitting this right now as well).
changed the title [-]sqllogictests fail in debug mode[/-][+]sqllogictests fail in debug mode (join_full_multi_batch::batch_size_4_2)[/+]on Mar 17, 2026
Activity
alamb commentedon Mar 4, 2026
A work around is to run it like
cargo test --profile=ci --test sqllogictestsWe should fix it for real
Tim-53 commentedon Mar 5, 2026
take
Tim-53 commentedon Mar 5, 2026
After investigating this i found out, that the root cause is a faulty
debug_assert_eq!inarrow-select'sBatchCoalescerthat assumesVec::reserve(n)gives exactlyncapacity, which Rust doesn't guarantee.Filed an upstream issue: apache/arrow-rs#9506
Not sure what the project's approach is for the fix here, but since it's not mission critical
(debug mode only, workaround exists via
--profile=ci) it should be okay to wait for theupstream fix.
Edit: Arrow PR is open: apache/arrow-rs#9508
mbutrovich commentedon Mar 6, 2026
You can also do
RUSTFLAGS="-C debug-assertions=no"(I'm hitting this right now as well).Tim-53 commentedon Mar 9, 2026
The fix has been merged in apache/arrow-rs#9506. This should be resolved once DataFusion upgrades to the next Arrow release.
[-]sqllogictests fail in debug mode[/-][+]sqllogictests fail in debug mode (join_full_multi_batch::batch_size_4_2)[/+]alamb commentedon Mar 17, 2026
This also came while trying to validate the 53 release:
fix: Run release verification with `--profile=ci` (#20987)
fix: Run release verification with `--profile=ci` (apache#20987)
alamb commentedon Mar 24, 2026
After a somewhat unfortunate delay, here is a PR to update us to arrow 58.1.0 (that fixes the problem running tests in debug mode)
58.1.0#21044Update to arrow/parquet `58.1.0` (#21044)