Skip to content

Commit

Permalink
Removed changes in CoalesceCanBePushed
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA committed Nov 8, 2024
1 parent 152e0c0 commit 34dc497
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ydb/library/yql/providers/common/pushdown/collection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,11 +513,7 @@ bool JsonExistsCanBePushed(const TCoJsonExists& jsonExists, const TExprNode* lam
}

bool CoalesceCanBePushed(const TCoCoalesce& coalesce, const TExprNode* lambdaArg, const TExprBase& lambdaBody, const TSettings& settings) {
auto value = coalesce.Value().Maybe<TCoBool>();
if (!value) {
return false;
}
if (TStringBuf(value.Cast().Literal()) != "false"sv) {
if (!coalesce.Value().Maybe<TCoBool>()) {
return false;
}

Expand Down

0 comments on commit 34dc497

Please sign in to comment.