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
113 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
• 37,940 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
730 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
• 37,940 points

edited May 7, 2019 by Gitika 361 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
• 37,940 points
104 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
• 37,940 points
91 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
• 10,950 points
5,915 views
+1 vote
11 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
37,498 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,320 points
2,213 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
• 37,940 points
128 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
• 37,940 points
105 views