From d016fc9d47226f780f6694d297e0970f2a7bbbec Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Mon, 7 Nov 2022 18:27:26 +0800 Subject: [PATCH] fix(query): set retrieve completed flag for exchange operator. --- source/libs/executor/src/executorimpl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/libs/executor/src/executorimpl.c b/source/libs/executor/src/executorimpl.c index b76698b0bc..0e2f2189bd 100644 --- a/source/libs/executor/src/executorimpl.c +++ b/source/libs/executor/src/executorimpl.c @@ -1933,6 +1933,10 @@ static void concurrentlyLoadRemoteDataImpl(SOperatorInfo* pOperator, SExchangeIn } } + if (completed == totalSources) { + setAllSourcesCompleted(pOperator, startTs); + } + return; } -- GitLab