File tree Expand file tree Collapse file tree 4 files changed +774
-0
lines changed Expand file tree Collapse file tree 4 files changed +774
-0
lines changed Original file line number Diff line number Diff line change 55#include < ydb/library/yql/core/yql_atom_enums.h>
66#include < ydb/library/yql/core/yql_expr_type_annotation.h>
77#include < ydb/library/yql/core/yql_join.h>
8+ #include < ydb/library/yql/core/yql_opt_hopping.h>
89#include < ydb/library/yql/core/yql_opt_utils.h>
910#include < ydb/library/yql/core/yql_opt_window.h>
1011#include < ydb/library/yql/core/yql_type_helpers.h>
@@ -5080,6 +5081,17 @@ void RegisterCoSimpleCallables1(TCallableOptimizerMap& map) {
50805081 return clean;
50815082 }
50825083
5084+ if (auto hopping = NHopping::RewriteAsHoppingWindow (
5085+ node,
5086+ ctx,
5087+ false , // analyticsHopping
5088+ TDuration::MilliSeconds (5'000 ), // TDqSettings::TDefault::WatermarksLateArrivalDelayMs
5089+ true , // defaultWatermarksMode
5090+ true ); // syncActor
5091+ hopping) {
5092+ return hopping;
5093+ }
5094+
50835095 return DropReorder<false >(node, ctx);
50845096 };
50855097
Original file line number Diff line number Diff line change 2828 yql_join.cpp
2929 yql_join.h
3030 yql_library_compiler.cpp
31+ yql_opt_hopping.cpp
3132 yql_opt_match_recognize.cpp
3233 yql_opt_match_recognize.h
3334 yql_opt_proposed_by_data.cpp
You can’t perform that action at this time.
0 commit comments