Why tuple keywords is used in pig?

0 votes

Hi,

I am new to pig and not able to understand what tuple is and why it is used. Can anyone please explain?

May 6 in Big Data Hadoop by pavitra
36 views

1 answer to this question.

0 votes

Hey,

A tuple is a set of field, the field can be of any type. Here Id and Product name from a tuple. Tuples are represented by braces.

Example:- (10, samsung)

Id, Product_name 

 10, samsung 

 20, Nokia 

 30, MI
answered May 6 by Gitika
• 25,360 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Why Apache Pig is used instead of Hadoop?

As you know writing mapreduce programs in ...READ MORE

answered May 7, 2018 in Big Data Hadoop by Ashish
• 2,630 points
284 views
0 votes
1 answer

What is pig storage and why it is used?

Hello, In pig, there is a default load ...READ MORE

answered May 7 in Big Data Hadoop by Gitika
• 25,360 points

edited May 7 by Gitika 90 views
0 votes
1 answer

Why CREATE EXTERNAL keyword is used in Hive?

Hey, The create external keyword is used to create a ...READ MORE

answered May 15 in Big Data Hadoop by Gitika
• 25,360 points
32 views
0 votes
1 answer

Why Count keyword is used in HBase?

Hey, An aggregate function that returns the number ...READ MORE

answered May 24 in Big Data Hadoop by Gitika
• 25,360 points
36 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,730 points
3,357 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,636 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
1,215 views
0 votes
1 answer
0 votes
1 answer

Why JOIN operator is used in pig?

Hey, In Apache pig, JOIN operator is used ...READ MORE

answered May 6 in Big Data Hadoop by Gitika
• 25,360 points
36 views
0 votes
1 answer

Why CLI is used in Scoop?

CLI is Command Line Client which is ...READ MORE

answered Apr 11 in Big Data Hadoop by Gitika
• 25,360 points
38 views