Explain LOAD keyword in pig script?

0 votes

Hi,

I am new to pig and I don't know what LOAD syntax does. Can someone explain?

May 3 in Big Data Hadoop by disha
10 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey,

Load helps to load data from the file system. In the first step in data flow language, we need to mention the input, which is completed by using the LOAD keyword.

The LOAD syntax is:

grunt> salesTable = LOAD 'test_edureka/SalesJan2009.csv' USING PigStorage(',')
answered May 3 by Gitika
• 6,700 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Explain the function of ORDER-BY operator in pig?

Hi, The ORDER-BY operator is used to display ...READ MORE

answered May 6 in Big Data Hadoop by Gitika
• 6,700 points
9 views
0 votes
1 answer

Explain the use of FILTER operator in pig?

Hey, The FILTER operator is used to select ...READ MORE

answered May 6 in Big Data Hadoop by Gitika
• 6,700 points
11 views
0 votes
1 answer

Why we use Relation keyword in pig?

Hey, In pig, Relation represents a complete database. ...READ MORE

answered May 7 in Big Data Hadoop by Gitika
• 6,700 points
9 views
0 votes
1 answer

how to execute pig script in MapReduce mode?

Hey, To execute pig script we can use ...READ MORE

answered May 7 in Big Data Hadoop by Gitika
• 6,700 points
8 views
0 votes
1 answer

What do we exactly mean by “Hadoop” – the definition of Hadoop?

The official definition of Apache Hadoop given ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by Shubham
117 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
• 9,030 points
1,637 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 9,030 points
130 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
7,950 views
0 votes
1 answer

Why should we use "distinct" keyword in pig script?

Hey, The "distinct" statement is very simple. It ...READ MORE

answered May 3 in Big Data Hadoop by Gitika
• 6,700 points
15 views
0 votes
1 answer

What is relation keyword in pig?

Hey, A relation is a bag of tuples. ...READ MORE

answered May 6 in Big Data Hadoop by Gitika
• 6,700 points
5 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.