Regression: Merge assertion: 'assertion failed: i < self.len()'
in array_primitive.rs while merging non overlapping streams
#1676
Labels
bug
Something isn't working
Describe the bug
If we try to merge two streams that are non overlapping (e.g.
0..20
and20..40
) then the following panic is produced:Note this won't affect any users of DataFusion unless they are using externalized sort that @yjshen has recently been working on or directly use
SortPreservingMergeStream
as IOx doesTo Reproduce
See fuzztester PR: #1678
Expected behavior
Correct answers come out, with no panic
Additional context
Found in some of our tests in IOx: https://github.com/influxdata/influxdb_iox/issues/3530
I am fairly confident it is a corner case in the code from #1596
The text was updated successfully, but these errors were encountered: