aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/match_recognize.h
diff options
context:
space:
mode:
authorvokayndzop <vokayndzop@yandex-team.com>2024-12-16 15:55:05 +0300
committervokayndzop <vokayndzop@yandex-team.com>2024-12-16 16:34:36 +0300
commitb1cde7dcb055fb6f3367e81fd0f57bd55b8bb93c (patch)
tree230bddb8bb4ce7d8290a16a4465ec98dbf513a5a /yql/essentials/sql/v1/match_recognize.h
parent88e0ad5922cea1349ec1f8cbf133524cf865d696 (diff)
downloadydb-b1cde7dcb055fb6f3367e81fd0f57bd55b8bb93c.tar.gz
MR: support ALL ROWS PER MATCH
commit_hash:9e2ba38d0d523bb870f6dc76717a3bec5d8ffadc
Diffstat (limited to 'yql/essentials/sql/v1/match_recognize.h')
-rw-r--r--yql/essentials/sql/v1/match_recognize.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/yql/essentials/sql/v1/match_recognize.h b/yql/essentials/sql/v1/match_recognize.h
index b78c0faf65..4b0e98b9b7 100644
--- a/yql/essentials/sql/v1/match_recognize.h
+++ b/yql/essentials/sql/v1/match_recognize.h
@@ -10,11 +10,6 @@ struct TNamedFunction {
TString name;
};
-enum class ERowsPerMatch {
- OneRow,
- AllRows
-};
-
class TMatchRecognizeBuilder: public TSimpleRefCount<TMatchRecognizeBuilder> {
public:
TMatchRecognizeBuilder(
@@ -22,7 +17,7 @@ public:
std::pair<TPosition, TVector<TNamedFunction>>&& partitioners,
std::pair<TPosition, TVector<TSortSpecificationPtr>>&& sortSpecs,
std::pair<TPosition, TVector<TNamedFunction>>&& measures,
- std::pair<TPosition, ERowsPerMatch>&& rowsPerMatch,
+ std::pair<TPosition, NYql::NMatchRecognize::ERowsPerMatch>&& rowsPerMatch,
std::pair<TPosition, NYql::NMatchRecognize::TAfterMatchSkipTo>&& skipTo,
std::pair<TPosition, NYql::NMatchRecognize::TRowPattern>&& pattern,
std::pair<TPosition, TNodePtr>&& subset,
@@ -45,7 +40,7 @@ private:
std::pair<TPosition, TVector<TNamedFunction>> Partitioners;
std::pair<TPosition, TVector<TSortSpecificationPtr>> SortSpecs;
std::pair<TPosition, TVector<TNamedFunction>> Measures;
- std::pair<TPosition, ERowsPerMatch> RowsPerMatch;
+ std::pair<TPosition, NYql::NMatchRecognize::ERowsPerMatch> RowsPerMatch;
std::pair<TPosition, NYql::NMatchRecognize::TAfterMatchSkipTo> SkipTo;
std::pair<TPosition, NYql::NMatchRecognize::TRowPattern> Pattern;
std::pair<TPosition, TNodePtr> Subset;