aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora-romanov <Anton.Romanov@ydb.tech>2023-01-26 15:30:07 +0300
committera-romanov <Anton.Romanov@ydb.tech>2023-01-26 15:30:07 +0300
commit2e8c6e34414c6add3df070d18db938029606b968 (patch)
tree889369366e781a032367891081f02e91cdc9f64a
parent750fb359789bdbc30a1680287c0241db8e8ef575 (diff)
downloadydb-2e8c6e34414c6add3df070d18db938029606b968.tar.gz
TCoWideTop[Sort]
-rw-r--r--ydb/library/yql/core/expr_nodes/yql_expr_nodes.json33
1 files changed, 33 insertions, 0 deletions
diff --git a/ydb/library/yql/core/expr_nodes/yql_expr_nodes.json b/ydb/library/yql/core/expr_nodes/yql_expr_nodes.json
index 8f64097b3b2..f865f8be7dd 100644
--- a/ydb/library/yql/core/expr_nodes/yql_expr_nodes.json
+++ b/ydb/library/yql/core/expr_nodes/yql_expr_nodes.json
@@ -1577,6 +1577,39 @@
"Match": {"Type": "Callable", "Name": "Descending"}
},
{
+ "Name": "TCoSortKey",
+ "Base": "TExprBase",
+ "Match": {"Type": "Tuple"},
+ "Children": [
+ {"Index": 0, "Name": "Index", "Type": "TCoAtom"},
+ {"Index": 1, "Name": "Direction", "Type": "TExprBase"}
+ ]
+ },
+ {
+ "Name": "TCoSortKeys",
+ "ListBase": "TCoSortKey"
+ },
+ {
+ "Name": "TCoWideTopBase",
+ "Base": "TCoInputBase",
+ "Builder": {"Generate": "None"},
+ "Match": {"Type": "CallableBase"},
+ "Children": [
+ {"Index": 1, "Name": "Count", "Type": "TExprBase"},
+ {"Index": 2, "Name": "Keys", "Type": "TCoSortKeys"}
+ ]
+ },
+ {
+ "Name": "TCoWideTop",
+ "Base": "TCoWideTopBase",
+ "Match": {"Type": "Callable", "Name": "WideTop"}
+ },
+ {
+ "Name": "TCoWideTopSort",
+ "Base": "TCoWideTopBase",
+ "Match": {"Type": "Callable", "Name": "WideTopSort"}
+ },
+ {
"Name": "TCoAddMember",
"Base": "TCallable",
"Match": {"Type": "Callable", "Name": "AddMember"},