Created
January 30, 2018 00:57
-
-
Save apurvam/f870a33e7da67f649d280303d31b5401 to your computer and use it in GitHub Desktop.
KSQL TopK 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 orderzip_code, TOPK(order_total, 5) FROM orders WINDOW TUMBLING (SIZE 1 HOUR) GROUP BY order_zipcode; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment