Commit a414ea0
Issue 19781 : Internal error: Assertion failed: !self.finished: LimitedBatchCoalescer (#19785)
## Which issue does this PR close?
PR will close issue #19781.
## Rationale for this change
Fixes the internal error
## What changes are included in this PR?
The code change is inspired by the `CoalesceBatchesStream`
implementation.
## Are these changes tested?
Additional sqllogictest written in limit.slt which triggered the issue
before the fix.
## Are there any user-facing changes?
No
---------
Co-authored-by: Bert Vermeiren <[email protected]>1 parent eadbed5 commit a414ea0
File tree
4 files changed
+55
-46
lines changed- datafusion
- physical-plan/src
- coalesce
- sqllogictest/test_files
4 files changed
+55
-46
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
711 | 710 | | |
712 | 711 | | |
713 | 712 | | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | 713 | | |
732 | 714 | | |
733 | 715 | | |
| |||
767 | 749 | | |
768 | 750 | | |
769 | 751 | | |
770 | | - | |
771 | 752 | | |
772 | 753 | | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
773 | 767 | | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
774 | 772 | | |
775 | 773 | | |
776 | 774 | | |
| |||
802 | 800 | | |
803 | 801 | | |
804 | 802 | | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
818 | | - | |
819 | | - | |
820 | | - | |
821 | | - | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
822 | 806 | | |
823 | | - | |
824 | | - | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
825 | 811 | | |
826 | 812 | | |
827 | | - | |
828 | | - | |
829 | | - | |
830 | | - | |
831 | | - | |
832 | 813 | | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
833 | 817 | | |
834 | 818 | | |
835 | | - | |
836 | 819 | | |
837 | 820 | | |
838 | 821 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
874 | | - | |
| 874 | + | |
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments