Skip to content

Commit

Permalink
Added explicit pragma into filter sql
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA committed Nov 10, 2024
1 parent 7f3e592 commit 76fb25a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ydb/core/fq/libs/row_dispatcher/json_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ class TJsonFilter::TImpl {
private:
TString GenerateSql(const TString& whereFilter) {
TStringStream str;
str << "PRAGMA config.flags(\"LLVM\", \"ON\");";
str << "$filtered = SELECT * FROM Input " << whereFilter << ";\n";

str << "SELECT " << OffsetFieldName << ", Unwrap(Json::SerializeJson(Yson::From(RemoveMembers(TableRow(), [\"" << OffsetFieldName;
Expand Down

0 comments on commit 76fb25a

Please sign in to comment.