Skip to content

Commit cd82568

Browse files
committed
Order of computations
1 parent 51ca014 commit cd82568

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ydb/library/yql/providers/generic/actors/yql_generic_read_actor.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,11 +546,13 @@ namespace NYql::NDq {
546546
part << ';';
547547
*/
548548

549+
auto tokenProvider = CreateGenericTokenProvider(source, credentialsFactory);
550+
549551
const auto actor = new TGenericReadActor(
550552
inputIndex,
551553
statsLevel,
552554
genericClient,
553-
CreateGenericTokenProvider(source, credentialsFactory),
555+
std::move(tokenProvider),
554556
std::move(source),
555557
computeActorId,
556558
holderFactory);

0 commit comments

Comments
 (0)