Podcast
Questions and Answers
What is the benefit of using subqueries in Hive versus writing multiple separate queries to solve a problem?
What is the benefit of using subqueries in Hive versus writing multiple separate queries to solve a problem?
Which of the following statements is true of Hive?
Which of the following statements is true of Hive?
Suppose you are given a table with the following columns: City Name, Country Name, Population. The table contains every city for every country in the world and their population.
You are asked to output the city with the highest population among all cities in Australia. Which Hive commands would you use?
Suppose you are given a table with the following columns: City Name, Country Name, Population. The table contains every city for every country in the world and their population. You are asked to output the city with the highest population among all cities in Australia. Which Hive commands would you use?
Why does Hive allow users to define complex data types like structs, whereas traditional relational databases do not allow it?
Why does Hive allow users to define complex data types like structs, whereas traditional relational databases do not allow it?
Signup and view all the answers
Suppose you are asked to output the url, ipAddress and time of the most recent log entry in the mytraffic table of lab 3, where each row of the mytraffic table represents a log entry. Which of the following set of Hive commands best solves this problem?
Suppose you are asked to output the url, ipAddress and time of the most recent log entry in the mytraffic table of lab 3, where each row of the mytraffic table represents a log entry. Which of the following set of Hive commands best solves this problem?
Signup and view all the answers
Which statement about the MapReduce job tracker is false?
Which statement about the MapReduce job tracker is false?
Signup and view all the answers
Suppose you are given a table with the following columns: City Name, Country Name, Population. The table contains every city for every country in the world and their populations.
You are asked to list the top 10 countries in descending order of total population using Hive. Which Hive commands would you use?
Suppose you are given a table with the following columns: City Name, Country Name, Population. The table contains every city for every country in the world and their populations. You are asked to list the top 10 countries in descending order of total population using Hive. Which Hive commands would you use?
Signup and view all the answers