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
712 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,770 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 8, 2018 in Big Data Hadoop by Ashish
• 2,650 points
2,464 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 8, 2019 in Big Data Hadoop by Gitika
• 65,770 points

edited May 8, 2019 by Gitika 1,747 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,770 points
2,286 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,770 points
753 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
11,029 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
108,836 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,350 points
4,612 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 7, 2019 in Big Data Hadoop by Gitika
• 65,770 points
1,124 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,770 points
679 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP