diff --git a/ydb/core/kqp/opt/kqp_query_plan.cpp b/ydb/core/kqp/opt/kqp_query_plan.cpp index ea2a2bf32a7c..1c732259755c 100644 --- a/ydb/core/kqp/opt/kqp_query_plan.cpp +++ b/ydb/core/kqp/opt/kqp_query_plan.cpp @@ -1180,6 +1180,8 @@ class TxPlanSerializer { TString value; if (listPtr->Child(2)->ChildrenSize() >= 1) { value = TString(listPtr->Child(2)->Child(0)->Content()); + } else if (listPtr->Child(2)->ChildrenSize() == 0 && listPtr->Child(2)->Content()) { + value = TString(listPtr->Child(2)->Content()); } return Sprintf("%s %s %s", attr.c_str(), strComp[compSign].c_str(), value.c_str());