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
62 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 by Gitika
• 25,340 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
• 25,340 points
24 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
• 25,340 points
42 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
• 25,340 points
27 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
• 25,340 points
72 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
224 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
• 10,710 points
3,334 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,710 points
399 views
0 votes
10 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,492 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
• 25,340 points
35 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
• 25,340 points
26 views