Chapter 4. Data Selection and Scope
This chapter is about how to discover the data by querying the data, linking the data, and limiting the data ranges or scopes. The chapter mainly covers the syntax and usage of Hive
UNION ALL to operate datasets.
In this chapter we will cover the following topics:
- The common
- The special
- The set operation statement (
The SELECT statement
The most common use case of using Hive is to query the data in Hadoop. To achieve this, we need to write and execute the
SELECT statement in Hive. The typical work done by the
SELECT statement is to project the rows meeting query conditions specified in the
WHERE clause after the target ...