1.

Explain About The Different Complex Data Types In Pig.?

Answer»

Apache Pig supports 3 COMPLEX data TYPES:

Maps- These are key, value stores joined together USING #.

Tuples- Just similar to the ROW in a table, where DIFFERENT items are separated by a comma. Tuples can have multiple attributes.

Bags- Unordered collection of tuples. Bag allows multiple duplicate tuples.

Apache Pig supports 3 complex data types:

Maps- These are key, value stores joined together using #.

Tuples- Just similar to the row in a table, where different items are separated by a comma. Tuples can have multiple attributes.

Bags- Unordered collection of tuples. Bag allows multiple duplicate tuples.



Discussion

No Comment Found