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, 2019 in Big Data Hadoop by disha
211 views

1 answer to this question.

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, 2019 by Gitika
• 33,110 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, 2019 in Big Data Hadoop by Gitika
• 33,110 points
67 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, 2019 in Big Data Hadoop by Gitika
• 33,110 points
234 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, 2019 in Big Data Hadoop by Gitika
• 33,110 points
75 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, 2019 in Big Data Hadoop by Gitika
• 33,110 points
284 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
632 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,920 points
5,446 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
• 10,920 points
803 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
33,722 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, 2019 in Big Data Hadoop by Gitika
• 33,110 points
100 views
0 votes
1 answer

What is relation keyword in pig?

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

answered May 6, 2019 in Big Data Hadoop by Gitika
• 33,110 points
122 views