Last active
January 31, 2018 02:06
-
-
Save apurvam/a7ea8cc44c04cdc2d898f96df2bafaa2 to your computer and use it in GitHub Desktop.
KSQL TOPKDISTINCT example
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 pageid, TOPKDISTINCT(viewtime, 5) FROM pageviews_users GROUP BY pageid; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment