Skip to content

Commit

Permalink
Revert "YQ-3617: fix GROUP BY HOP + AS_TABLE" (#9196)
Browse files Browse the repository at this point in the history
  • Loading branch information
APozdniakov authored Sep 13, 2024
1 parent 3dce9fe commit 3553a11
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 59 deletions.
2 changes: 1 addition & 1 deletion ydb/library/yql/core/yql_aggregate_expander.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ TExprNode::TPtr TAggregateExpander::ExpandAggregateWithFullOutput()
auto settings = Node->Child(3);

bool allTraitsCollected = CollectTraits();
// YQL_ENSURE(!HasSetting(*settings, "hopping"), "Aggregate with hopping unsupported here."); // TODO(YQ-3661): uncomment
YQL_ENSURE(!HasSetting(*settings, "hopping"), "Aggregate with hopping unsupported here.");

HaveDistinct = AnyOf(AggregatedColumns->ChildrenList(),
[](const auto& child) { return child->ChildrenSize() == 3; });
Expand Down
28 changes: 0 additions & 28 deletions ydb/library/yql/tests/sql/dq_file/part4/canondata/result.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,34 +362,6 @@
"uri": "https://{canondata_backend}/1899731/d439cec3e297e3dd031f751fd90f3935129a1094/resource.tar.gz#test.test_aggregate-group_by_hop--Results_/results.txt"
}
],
"test.test[aggregate-group_by_hop_small-default.txt-Analyze]": [
{
"checksum": "b4dd508a329723c74293d80f0278c705",
"size": 505,
"uri": "https://{canondata_backend}/1847551/2209c2969854610c404ebe58fe3bfaa092239305/resource.tar.gz#test.test_aggregate-group_by_hop_small-default.txt-Analyze_/plan.txt"
}
],
"test.test[aggregate-group_by_hop_small-default.txt-Debug]": [
{
"checksum": "4eb73aa6ee121bbad859125d3cfd5a95",
"size": 1015,
"uri": "https://{canondata_backend}/1847551/2209c2969854610c404ebe58fe3bfaa092239305/resource.tar.gz#test.test_aggregate-group_by_hop_small-default.txt-Debug_/opt.yql_patched"
}
],
"test.test[aggregate-group_by_hop_small-default.txt-Plan]": [
{
"checksum": "b4dd508a329723c74293d80f0278c705",
"size": 505,
"uri": "https://{canondata_backend}/1847551/2209c2969854610c404ebe58fe3bfaa092239305/resource.tar.gz#test.test_aggregate-group_by_hop_small-default.txt-Plan_/plan.txt"
}
],
"test.test[aggregate-group_by_hop_small-default.txt-Results]": [
{
"checksum": "b204692654e9a175f23dc8efd761e05b",
"size": 696,
"uri": "https://{canondata_backend}/1847551/2209c2969854610c404ebe58fe3bfaa092239305/resource.tar.gz#test.test_aggregate-group_by_hop_small-default.txt-Results_/results.txt"
}
],
"test.test[aggregate-group_by_hop_star--Analyze]": [
{
"checksum": "9221cc272d85bbacaaea3595e69b6b17",
Expand Down
14 changes: 0 additions & 14 deletions ydb/library/yql/tests/sql/sql2yql/canondata/result.json
Original file line number Diff line number Diff line change
Expand Up @@ -2183,13 +2183,6 @@
"uri": "https://{canondata_backend}/1784117/d56ae82ad9d30397a41490647be1bd2124718f98/resource.tar.gz#test_sql2yql.test_aggregate-group_by_hop_only_start_/sql.yql"
}
],
"test_sql2yql.test[aggregate-group_by_hop_small]": [
{
"checksum": "91dd52bcee5be9d4f5f9638eb801db32",
"size": 2149,
"uri": "https://{canondata_backend}/1920236/bb2301e85eb73fecf6260a9c1294520fbf1e952e/resource.tar.gz#test_sql2yql.test_aggregate-group_by_hop_small_/sql.yql"
}
],
"test_sql2yql.test[aggregate-group_by_hop_star]": [
{
"checksum": "e777f280db84a47b4cdfe9176e6d9d1f",
Expand Down Expand Up @@ -21846,13 +21839,6 @@
"uri": "https://{canondata_backend}/1880306/64654158d6bfb1289c66c626a8162239289559d0/resource.tar.gz#test_sql_format.test_aggregate-group_by_hop_only_start_/formatted.sql"
}
],
"test_sql_format.test[aggregate-group_by_hop_small]": [
{
"checksum": "27fdd7af224a36c15155f7f69f14ad07",
"size": 393,
"uri": "https://{canondata_backend}/1942173/9d793e788c391df831fae057e65f63b2b147c4d4/resource.tar.gz#test_sql_format.test_aggregate-group_by_hop_small_/formatted.sql"
}
],
"test_sql_format.test[aggregate-group_by_hop_star]": [
{
"checksum": "0132a85abf9d40c5a848a3c031206631",
Expand Down
16 changes: 0 additions & 16 deletions ydb/library/yql/tests/sql/suites/aggregate/group_by_hop_small.sql

This file was deleted.

0 comments on commit 3553a11

Please sign in to comment.