aboutsummaryrefslogtreecommitdiffstats
path: root/yt/yql/tests/sql/suites/stream_lookup_join/lookup_join.sql
diff options
context:
space:
mode:
authorvvvv <vvvv@yandex-team.com>2024-12-28 18:52:49 +0300
committervvvv <vvvv@yandex-team.com>2024-12-28 19:08:05 +0300
commit8edc031b752662cb60f411a2d7d3d6c162d801cf (patch)
treec78646d3f4c02c56d8e5659af94aa338df9e5447 /yt/yql/tests/sql/suites/stream_lookup_join/lookup_join.sql
parent4e51cb9d47a86fee833396ad0cdfb8e84ec8166c (diff)
downloadydb-8edc031b752662cb60f411a2d7d3d6c162d801cf.tar.gz
Change "devtools/contrib/piglet/projects/ydblib/config.yaml"
commit_hash:bf8be6eaf53bc3065d37ec3eeb7b664ca9d6b76d
Diffstat (limited to 'yt/yql/tests/sql/suites/stream_lookup_join/lookup_join.sql')
-rw-r--r--yt/yql/tests/sql/suites/stream_lookup_join/lookup_join.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/yt/yql/tests/sql/suites/stream_lookup_join/lookup_join.sql b/yt/yql/tests/sql/suites/stream_lookup_join/lookup_join.sql
new file mode 100644
index 0000000000..84eed2af7e
--- /dev/null
+++ b/yt/yql/tests/sql/suites/stream_lookup_join/lookup_join.sql
@@ -0,0 +1,9 @@
+pragma dq.UseWideChannels = "true";
+use plato;
+
+select e.id as id, e.ts as ts, e.host as host, h.fqdn as fqdn, h.ip4 as ip4, h.ip6 as ip6
+ from Event as e
+ left join /*+ streamlookup() */ Host as h
+ on (e.host == h.hostname)
+;
+