Skip to content

Commit

Permalink
Update SQL
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoff committed Mar 15, 2019
1 parent 012c66e commit 2548379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ksql-workshop/ksql-workshop.sql
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ WHERE STARS < 3 \
AND CLUB_STATUS = 'platinum';

CREATE TABLE RATINGS_BY_CLUB_STATUS AS \
SELECT CLUB_STATUS, COUNT(*) AS RATING_COUNT \
SELECT WindowStart() AS WINDOW_START_TS, CLUB_STATUS, COUNT(*) AS RATING_COUNT \
FROM RATINGS_WITH_CUSTOMER_DATA \
WINDOW TUMBLING (SIZE 1 MINUTES) \
GROUP BY CLUB_STATUS;

0 comments on commit 2548379

Please sign in to comment.