Skip to content

Conversation

924060929
Copy link
Contributor

cherry pick from #52870

@924060929 924060929 requested a review from yiguolei as a code owner July 7, 2025 07:40
@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

the CTE use MultiCastDataSink.destinations to store the destination instead of FragmentExecParams.destinations, but the old Coordinator use FragmentExecParams.destinations for local shuffle, so throw the exception:
```
[CANCELLED]Rows mismatched! Data may be lost. [Expected enqueue rows=14, Real enqueue rows=0, Detail: Type: HASH_SHUFFLE, Local Exchange Id: -10, Shuffled Map: [0:6], ]
```
@924060929 924060929 force-pushed the branch-2.1-fix-cte-with-local-shuffle branch from 97da15a to 5b7cc52 Compare July 7, 2025 07:49
@924060929
Copy link
Contributor Author

run buildall

@924060929 924060929 changed the title [fix](coordinator) fix cte with local shuffle throw exception (#52870) branch-2.1: [fix](coordinator) fix cte with local shuffle throw exception (#52870) Jul 8, 2025
@924060929 924060929 changed the title branch-2.1: [fix](coordinator) fix cte with local shuffle throw exception (#52870) branch-2.1: [fix](coordinator) fix cte with local shuffle throw exception #52870 Jul 8, 2025
@yiguolei yiguolei merged commit 1775200 into apache:branch-2.1 Jul 9, 2025
22 of 23 checks passed
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.

4 participants