-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Learner exercise #5
Comments
<2> Not sure how to get top here, it won't let me order by numRatings
|
<3> Partial progress: average rating query
The SQL engine doesn't support
|
Get average rating per movie |
Get movies that are rated above average of all the movies |
I think you are right! A better question might have been to window and ask "what are the top rated movies every hour". |
Ah, I thought it was asking for movies which have an average rating greater than the overall average. |
Would you want to implement <1> as a sink with a average rating over some window? Or maybe every time you get a new rating, you compute the new average rating for that movie and add it to the stream. |
==== Step 3a: Test your Flink SQL knowledge
<1> Get average rating per movie as ratings stream into Kafka.
<2> Get the running list of 10 most rated movies (not top rated).
<3> Get movies that are rated above average of all the movies.
The text was updated successfully, but these errors were encountered: