Skip to content

Commit 62f0fb0

Browse files
authored
[KQP] Fix comparison attributes OLAP (#10192)
1 parent e1d050a commit 62f0fb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ydb/core/kqp/opt/kqp_query_plan.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,8 @@ class TxPlanSerializer {
10761076
TString value;
10771077
if (listPtr->Child(2)->ChildrenSize() >= 1) {
10781078
value = TString(listPtr->Child(2)->Child(0)->Content());
1079+
} else if (listPtr->Child(2)->ChildrenSize() == 0 && listPtr->Child(2)->Content()) {
1080+
value = TString(listPtr->Child(2)->Content());
10791081
}
10801082

10811083
return Sprintf("%s %s %s", attr.c_str(), strComp[compSign].c_str(), value.c_str());

0 commit comments

Comments
 (0)