-
-
Save ldenson11/c966986bcb90d9f4a4c19b065eef6cc9 to your computer and use it in GitHub Desktop.
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
SELECT userid, sum(clickcount) as clicks, TUMBLE_END(eventTimestamp) AS ts | |
FROM clickstream | |
WHERE continent = 'AUSTRALIA' | |
GROUP BY userid, TUMBLE(eventTimestamp, 'interval 10 minute') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment