feat: add iceberg with spark

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-08-05 23:23:34 +02:00
parent a0be74c4d8
commit f345a956c9
6 changed files with 112 additions and 0 deletions

View File

@@ -11,3 +11,12 @@ where
and impression_timestamp + interval '1' minute >= click_timestamp
group by
ad_id;
create materialized view clicks as
select
user_id,
ad_id,
click_timestamp,
impression_timestamp
from
ad_source;