Question: 10-27. Consider the customer table created in Figure 10-24 and populated with data as shown in Figure 10-27. Write the Hive script that will display


10-27. Consider the customer table created in Figure 10-24 and populated with data as shown in Figure 10-27. Write the Hive script that will display the age-groups that exist in the data set and their average incomes. FIGURE 10-24 Sample CREATE TABLE query in Hive CREATE TABLE customer (userid INT, gender STRING, salary INT, zip STRING, age INT) ROW FORMAT DELIMITED FIELDS TERMINATED BY : FIGURE 10-27 Customer directory in Hive warehouse after LOAD DATA command dedery appe ewatose cusomer Serh F hens cuntomer dhogque > Permission > A Na > Group v ta Owner Last Modited Name MOMBnple. Grept
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
