We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Foreach ... generate FAILURE

Thread ID:

Created:

Updated:

Platform:

Replies:

119615 Jul 15,2015 09:45 AM UTC Jul 16,2015 05:23 AM UTC Big Data Platform 2
loading
Tags: General
David Prinz
Asked On July 15, 2015 09:45 AM UTC

Hi guys,

I'm very new to BigData and I'm trying some things today.
I wanted to assing names to the data, but it doesn't work.
Do you have any tips or suggestion for me?

Just have a look at my skript:

-------------
batting = LOAD 'project1/Batting.csv' using PigStorage(',');
runs = FOREACH batting GENERATE $0 as playerID, $1 as year, $8 as runs;
-------------

failure code:
-------------
<line 3, column 70>  Unexpected character ''
2015-07-15 11:34:44,007 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: <line 3, column 70>  Unexpected character ''
Details at logfile: C:\Syncfusion\BigDataSDK\2.1.0.71\SDK\Hadoop\logs\pig_1436947135996.log
--------------

I'm waiting for your answer!

Greetings David

David Prinz
Replied On July 15, 2015 10:59 AM UTC

hey guys,

just solved the problem..
reason was the copy and paste from the website.

C U

Praveena P [Syncfusion]
Replied On July 16, 2015 05:23 AM UTC

Hi David,
We are glad that your problem has resolved. Please let us know if you have any queries.
Regards,
Praveena.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;