Unit 4: Introduction to Apache Hive - Subjective Questions

INT312 — Big Data Fundamentals • Practice Questions with Detailed Answers

20 questions

1

Explain the architecture of Apache Hive and describe the role of its major components.

2

Describe the steps required to install and configure Apache Hive in a Hadoop environment.

3

Define Hive data types and classify the primitive data types supported by Hive.

4

Explain Hive's complex data types with suitable table definitions and query examples.

5

Explain implicit and explicit type conversion in Hive. How are invalid conversions and NULL values handled?

6

What is partitioning in Hive? Explain its purpose with a suitable example.

7

Distinguish between static and dynamic partitioning in Hive. Explain how data is inserted using both approaches.

8

Explain partition pruning and describe important HiveQL commands used to manage partitions.

9

Define bucketing in Hive and explain how rows are assigned to buckets.

10

Describe how to create and populate a bucketed table in Hive. Also explain sorting within buckets.

11

Compare partitioning and bucketing in Hive. When should each technique be used?

12

Explain the major HiveQL Data Definition Language operations with suitable examples.

13

Describe the principal HiveQL data-loading and data-manipulation operations.

14

Explain important HiveQL query clauses and show how they are used to summarize data.

15

Explain the types of joins supported by HiveQL and discuss important join optimization considerations.

16

Classify the major categories of operators available in HiveQL and provide examples.

17

Explain the behavior of relational and logical operators when Hive expressions contain NULL values.

18

Describe arithmetic, pattern-matching, range, and membership operators in HiveQL with examples.

19

Explain set operations and table-generating operations in HiveQL.

20

Design a Hive table for a large e-commerce sales dataset using partitioning and bucketing. Justify the design and provide representative HiveQL queries.