-
-
Save ldenson11/e6d4e3ecce225641af76ab0c86d67430 to your computer and use it in GitHub Desktop.
www homepage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- join multiple streams | |
select o.name, | |
sum(d.clicks), | |
hop_end(r.eventTimestamp, interval '20' second, interval '40' second) | |
from click_stream o join orgs r on o.org_id = r.org_id | |
join models d on d.org_id = r.org_id | |
group by o.name, | |
hop(r.eventTimestamp, interval '20' second, interval '40' second) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment