diff options
author | vvvv <vvvv@yandex-team.com> | 2024-12-28 18:52:49 +0300 |
---|---|---|
committer | vvvv <vvvv@yandex-team.com> | 2024-12-28 19:08:05 +0300 |
commit | 8edc031b752662cb60f411a2d7d3d6c162d801cf (patch) | |
tree | c78646d3f4c02c56d8e5659af94aa338df9e5447 /yt/yql/tests/sql/suites/aggregate/group_by_hop_only.sql | |
parent | 4e51cb9d47a86fee833396ad0cdfb8e84ec8166c (diff) | |
download | ydb-8edc031b752662cb60f411a2d7d3d6c162d801cf.tar.gz |
Change "devtools/contrib/piglet/projects/ydblib/config.yaml"
commit_hash:bf8be6eaf53bc3065d37ec3eeb7b664ca9d6b76d
Diffstat (limited to 'yt/yql/tests/sql/suites/aggregate/group_by_hop_only.sql')
-rw-r--r-- | yt/yql/tests/sql/suites/aggregate/group_by_hop_only.sql | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/yt/yql/tests/sql/suites/aggregate/group_by_hop_only.sql b/yt/yql/tests/sql/suites/aggregate/group_by_hop_only.sql new file mode 100644 index 0000000000..302e8aa1a5 --- /dev/null +++ b/yt/yql/tests/sql/suites/aggregate/group_by_hop_only.sql @@ -0,0 +1,12 @@ +/* syntax version 1 */ +/* postgres can not */ +/* ytfile can not */ +/* yt can not */ + +PRAGMA dq.AnalyticsHopping="true"; + +SELECT + HOP_START() as ts, + SUM(payload) as payload +FROM plato.Input +GROUP BY HOP(DateTime::FromSeconds(CAST(ts as Uint32)), "PT10S", "PT10S", "PT10S"); |