Skip to content

Commit f26f9e6

Browse files
committed
Minor fix in scripting
1 parent 599690d commit f26f9e6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ydb/core/kqp/opt/kqp_query_plan.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2502,7 +2502,8 @@ TString SerializeScriptPlan(const TVector<const TString>& queryPlans) {
25022502
writer.WriteKey("Plan");
25032503
writer.WriteJsonValue(dqPlan);
25042504
writer.WriteKey("SimplifiedPlan");
2505-
writer.WriteJsonValue(SimplifyQueryPlan(dqPlan));
2505+
auto simplifiedPlan = SimplifyQueryPlan(*dqPlan);
2506+
writer.WriteJsonValue(&simplifiedPlan);
25062507
}
25072508
writer.EndObject();
25082509
}

0 commit comments

Comments
 (0)