<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Apache PIG - When insert STORE function it gives me error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136715#M35169</link>
    <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/5881-src-data.txt"&gt;src-data.txt&lt;/A&gt; Here's my source code &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Many thanks Lester!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2016 14:47:46 GMT</pubDate>
    <dc:creator>m2014227</dc:creator>
    <dc:date>2016-07-20T14:47:46Z</dc:date>
    <item>
      <title>Apache PIG - When insert STORE function it gives me error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136713#M35167</link>
      <description>&lt;P&gt;I've the following code: &lt;/P&gt;&lt;PRE&gt;Source = LOAD '.../MyTextFiles' using PigStorage(' '); 
Data = FOREACH Source GENERATE (chararray)$1 AS Detail_ID, (chararray)$2 AS Code_Time, (chararray)$3 AS BreakLine;
Transform = FOREACH Data GENERATE $1, ToUnixTime($2,'dd/MM/yyyyHH:mm:ss','GMT'), $3;
SPLIT Transform INTO Src31 IF ToDate($2,'yyyy-MM-dd')==ToDate('2013-12-31', 'yyyy-MM-dd'), 
Src01 IF ToDate($2,'yyyy-MM-dd')==ToDate('2014-01-01', 'yyyy-MM-dd'); 
STORE Src31 INTO '.../31_06_2016' using PigStorage(' '); 
STORE Src01 INTO '.../01_07_2016' using PigStorage(' ');&lt;/PRE&gt;&lt;P&gt;If run the code without the STORE Statement it fives me successfully but If I try to introduce the new data into a new tables it gives me error... anyone knows why?&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 04:28:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136713#M35167</guid>
      <dc:creator>m2014227</dc:creator>
      <dc:date>2016-07-20T04:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Apache PIG - When insert STORE function it gives me error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136714#M35168</link>
      <description>&lt;P&gt;Maybe a small sample dataset would help so someone could try to run it as maybe the gotcha is not with the STORE, but the presence of it means all the transformations have to run.  If it is a problem prior to the STORE, then the error (whatever it is since we don't have the output of that) should surface just the same if you used DUMP to display the data.&lt;/P&gt;&lt;P&gt;If DUMP (and not STORE) is working, then probably just a permissions issue with the location you are storing.  Again, supply a small sample dataset and I'm sure somebody will chew on it for a few minutes to see if they can figure it out.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 05:39:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136714#M35168</guid>
      <dc:creator>LesterMartin</dc:creator>
      <dc:date>2016-07-20T05:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Apache PIG - When insert STORE function it gives me error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136715#M35169</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/5881-src-data.txt"&gt;src-data.txt&lt;/A&gt; Here's my source code &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Many thanks Lester!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:47:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136715#M35169</guid>
      <dc:creator>m2014227</dc:creator>
      <dc:date>2016-07-20T14:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apache PIG - When insert STORE function it gives me error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136716#M35170</link>
      <description>&lt;P&gt;Here's my source code &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Many thanks Lester! &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/5882-src-data.txt"&gt;src-data.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 15:21:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136716#M35170</guid>
      <dc:creator>m2014227</dc:creator>
      <dc:date>2016-07-20T15:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Apache PIG - When insert STORE function it gives me error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136717#M35171</link>
      <description>&lt;P&gt;Can you please share the exact error message ??&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2016 22:58:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136717#M35171</guid>
      <dc:creator>SuyogNagaokar</dc:creator>
      <dc:date>2016-07-20T22:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Apache PIG - When insert STORE function it gives me error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136718#M35172</link>
      <description>&lt;P&gt;Hi Suyog,

I already found the problem. I can't tranform millseconds into Unix TimeStamp... I'm trying to convert this field...&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 20:12:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136718#M35172</guid>
      <dc:creator>m2014227</dc:creator>
      <dc:date>2016-07-21T20:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Apache PIG - When insert STORE function it gives me error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136719#M35173</link>
      <description>&lt;P&gt;Good to go then, &lt;A rel="user" href="https://community.cloudera.com/users/11031/m2014227.html" nodeid="11031"&gt;@Johnny Fugers&lt;/A&gt;?  No further help needed, right?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 01:35:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136719#M35173</guid>
      <dc:creator>LesterMartin</dc:creator>
      <dc:date>2016-07-22T01:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Apache PIG - When insert STORE function it gives me error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136720#M35174</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11031/m2014227.html" nodeid="11031"&gt;@Johnny Fugers&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/11992/suyognn.html" nodeid="11992"&gt;@Suyog Nagaokar&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I tried to provide the answer here . Please let me know if you still have issues.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/46444/convert-millseconds-into-unix-timestamp.html#answer-46590" target="_blank"&gt;https://community.hortonworks.com/questions/46444/convert-millseconds-into-unix-timestamp.html#answer-46590&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujitha&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 06:48:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136720#M35174</guid>
      <dc:creator>ssanku</dc:creator>
      <dc:date>2016-07-22T06:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Apache PIG - When insert STORE function it gives me error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136721#M35175</link>
      <description>&lt;P&gt;Right Lester &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 16:06:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-PIG-When-insert-STORE-function-it-gives-me-error/m-p/136721#M35175</guid>
      <dc:creator>m2014227</dc:creator>
      <dc:date>2016-07-22T16:06:12Z</dc:date>
    </item>
  </channel>
</rss>

