Question: Given the input data [(1pm, $10), (2pm, $15), (3pm, $15), (4pm, $20), (5pm, $10), (6pm, $20), (7pm, $30), (8pm, $25), (9pm, $25), (10pm, $30), (11pm,

Given the input data [(1pm, $10), (2pm, $15), (3pm, $15), (4pm, $20), (5pm, $10), (6pm, $20), (7pm, $30), (8pm, $25), (9pm, $25), (10pm, $30), (11pm, $30)]. a) What will the Hive (or Oracle/SQL) query compute average price return? (yes, this is as obvious as it seems, asked for comparison with following parts)

b) What will a Storm query compute average price per each 3 hour window return? (tumbling, i.e., non-overlapping window of tuples, as many as you can fit).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!