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, 2019 in Big Data Hadoop by pavitra
191 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, 2019 by Gitika
• 65,870 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,650 points
1,031 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, 2019 in Big Data Hadoop by Gitika
• 65,870 points

edited May 7, 2019 by Gitika 565 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, 2019 in Big Data Hadoop by Gitika
• 65,870 points
166 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, 2019 in Big Data Hadoop by Gitika
• 65,870 points
120 views
+1 vote
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
• 11,380 points
7,085 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
51,156 views
–1 vote
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,390 points
2,679 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, 2019 in Big Data Hadoop by Gitika
• 65,870 points
256 views
0 votes
1 answer

Why CLI is used in Scoop?

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

answered Apr 11, 2019 in Big Data Hadoop by Gitika
• 65,870 points
137 views