Skip to content

Commit 41cd98f

Browse files
authored
Merge 0304265 into 68a09a0
2 parents 68a09a0 + 0304265 commit 41cd98f

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

ydb/core/fq/libs/row_dispatcher/topic_session.cpp

+5-9
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class TTopicSession : public TActorBootstrapped<TTopicSession> {
308308
ExceptionFunc(std::exception, HandleException)
309309
)
310310

311-
STRICT_STFUNC(ErrorState, {
311+
STRICT_STFUNC_EXC(ErrorState,
312312
cFunc(NActors::TEvents::TEvPoisonPill::EventType, PassAway);
313313
IgnoreFunc(NFq::TEvPrivate::TEvPqEventsReady);
314314
IgnoreFunc(NFq::TEvPrivate::TEvCreateSession);
@@ -319,8 +319,9 @@ class TTopicSession : public TActorBootstrapped<TTopicSession> {
319319
IgnoreFunc(NFq::TEvRowDispatcher::TEvStartSession);
320320
IgnoreFunc(NFq::TEvRowDispatcher::TEvStopSession);
321321
IgnoreFunc(NFq::TEvPrivate::TEvSendStatisticToRowDispatcher);
322-
IgnoreFunc(TEvRowDispatcher::TEvPurecalcCompileResponse);
323-
})
322+
IgnoreFunc(TEvRowDispatcher::TEvPurecalcCompileResponse);,
323+
ExceptionFunc(std::exception, HandleException)
324+
)
324325
};
325326

326327
TTopicSession::TTopicSession(
@@ -814,12 +815,6 @@ void TTopicSession::StartClientSession(TClientsInfo& info) {
814815
}
815816
}
816817

817-
if (Parser) {
818-
// Parse remains data before changing parsing schema
819-
DoParsing(true);
820-
}
821-
UpdateParser();
822-
823818
if (!ReadSession) {
824819
Schedule(TDuration::Seconds(Config.GetTimeoutBeforeStartSessionSec()), new NFq::TEvPrivate::TEvCreateSession());
825820
}
@@ -848,6 +843,7 @@ void TTopicSession::Handle(NFq::TEvRowDispatcher::TEvStartSession::TPtr& ev) {
848843
std::forward_as_tuple(ev->Sender),
849844
std::forward_as_tuple(ev, readGroup)).first->second;
850845
UpdateFieldsIds(clientInfo);
846+
UpdateParser();
851847

852848
const auto& source = clientInfo.Settings.GetSource();
853849
TString predicate = source.GetPredicate();

0 commit comments

Comments
 (0)