Pig mismatched input T1 expecting RIGHT CURLY

0 votes
{(3,8,9) (1,2,3)}
{(1,4,7) (1,2,3)}
{(2,5,8) (1,2,3)}

A =LOAD "bag.txt" USING PigStorage(" ") AS (B:BAG{T:tuple(t1,t2,t3) T1:tuple(t1,t2,t3)});

for the above set I am getting the error 

ERROR 1200: mismatched input "T1" expecting RIGHT_CURLY
Details at logfile: /mnt/home/edureka_418649/pig_1544546095890.log
Feb 14, 2019 in Big Data Hadoop by Husa
1,216 views

1 answer to this question.

0 votes
In Pig, the bag and tuple format should be correct otherwise the data will not be loaded correctly in the Pig alias. Now, please load the data using the below Pig query.
answered Feb 14, 2019 by Yuri

Related Questions In Big Data Hadoop

+1 vote
2 answers

Execute Pig Script from Grunt Shell

From your current directory run  pig -x local Then ...READ MORE

answered Oct 25, 2018 in Big Data Hadoop by Kunal
6,222 views
0 votes
1 answer

How can I get the respective Bitcoin value for an input in USD when using c#

Simply make call to server and parse ...READ MORE

answered Mar 25, 2018 in Big Data Hadoop by charlie_brown
• 7,720 points
1,042 views
0 votes
0 answers

Are some Pig real time use cases available?

Can anyone provide me with some real ...READ MORE

Apr 21, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
918 views
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,458 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
1,862 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,016 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
• 11,380 points
2,528 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,740 views
0 votes
1 answer

Getting error in Custom Input Format

Use this property directly to delimit the ...READ MORE

answered Apr 19, 2018 in Big Data Hadoop by Shubham
• 13,490 points
624 views
0 votes
1 answer

Use of MapReduce in PIG

Apache Pig programs are written in a ...READ MORE

answered Jul 25, 2018 in Big Data Hadoop by shams
• 3,670 points
2,244 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