Skip to content

Commit

Permalink
[KQP] Fix comparison attributes OLAP (#10192)
Browse files Browse the repository at this point in the history
  • Loading branch information
pashandor789 authored Oct 7, 2024
1 parent e1d050a commit 62f0fb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/core/kqp/opt/kqp_query_plan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,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());
Expand Down

0 comments on commit 62f0fb0

Please sign in to comment.