Apache Hive Flashcards

1
Q

What is Apache Hive?

A

Apache Hive is a query language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do querying languages do?

A

Query languages use broad terms/instructions that are then turned into a procedural language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What do procedural languages do?

A

Procedural languages do specific task but even procedural languages very in terms of their “level”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the challenges with MapReduce programming?

A

1) The ability to conceptually visualize the problem in MapReduce -> not natural

2) Knowledge of a programming language like Java, Python, C++, etc

3) Time and effort in writing and debugging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why is Hive so popular?

A

1) It attempts to treat data as tables and use traditional SQL queries to analyze

2) It was developed by Facebook

3) Widely used in industry

4) A client tool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What do we need to load a Hive table?

A

Table itself (the shell or columns)
Dataset (the actual column values)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What do grouping or aggregate functions allow?

A

Grouping or aggregate functions allow you to perform calculations on data and get statistical information from your data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the two types of tables in Hive?

A

Managed and External.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Managed Table?

A

A managed table has full control over it’s data.

When the table is dropped, so is its data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an External Table?

A

External table does not have full control over its dataset.

When you drop the table, the dataset is not deleted from HDFS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly