<?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>topic Re: TPigCode component does not work correctly it seems in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TPigCode-component-does-not-work-correctly-it-seems/m-p/2352681#M119032</link>
    <description>See this: 
&lt;BR /&gt;
&lt;A href="http://kontafirmowetutaj.pl" target="_blank" rel="nofollow noopener noreferrer"&gt;konto bankowe&lt;/A&gt;</description>
    <pubDate>Mon, 17 Jun 2013 20:03:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-17T20:03:54Z</dc:date>
    <item>
      <title>TPigCode component does not work correctly it seems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TPigCode-component-does-not-work-correctly-it-seems/m-p/2352678#M119029</link>
      <description>I am trying to sessionize weblog data using external component datafu using a jar (I am using Talend Enterprise Big Data offering). Below is my TPigCode component code: 
&lt;BR /&gt;register /root/etl/lib/datafu-0.0.9.jar 
&lt;BR /&gt;%declare TIME_WINDOW 5m 
&lt;BR /&gt;define Sessionize datafu.pig.sessions.Sessionize('$TIME_WINDOW'); 
&lt;BR /&gt;views = GROUP tPigLoad_1_RESULT BY $1; 
&lt;BR /&gt;tPigCode_1_RESULT = FOREACH views { 
&lt;BR /&gt; visits = ORDER views BY $0; 
&lt;BR /&gt; GENERATE FLATTEN(Sessionize()) AS ($0,$1,$2,$3,$4,session_id); 
&lt;BR /&gt;} 
&lt;BR /&gt;The job compiles but during execution I get the error below. Am I doing something wrong or does Talend not support complex Pig code? I had similar strange errors with REGEX_EXTRACT_ALL function and I had to rewrite my job do do things differently. It seems that TPigCode component does not support advanced features of pig scripting. Also, id there a better documentation out there that tell exactly what is supported in TPigCode Talend component and what is not? Can someone get back to me on this issue! 
&lt;BR /&gt;13/05/31 12:20:21 INFO executionengine.HExecutionEngine: Connecting to hadoop file system at: hdfs://153.64.117.162:8020 
&lt;BR /&gt;13/05/31 12:20:22 INFO executionengine.HExecutionEngine: Connecting to map-reduce job tracker at: HDNameNode:50300 
&lt;BR /&gt;Error during parsing. &amp;lt;line 2, column 0&amp;gt; Syntax error, unexpected symbol at or near 'register' 
&lt;BR /&gt;Caused by: 
&lt;BR /&gt; Failed to parse: &amp;lt;line 2, column 0&amp;gt; Syntax error, unexpected symbol at or near 'register' 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Marcin</description>
      <pubDate>Sat, 16 Nov 2024 12:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TPigCode-component-does-not-work-correctly-it-seems/m-p/2352678#M119029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: TPigCode component does not work correctly it seems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TPigCode-component-does-not-work-correctly-it-seems/m-p/2352679#M119030</link>
      <description>Hi, 
&lt;BR /&gt;The PigCode components is a component which can be used between a tPigLoad and a tPigStoreResult within the flow. Moreover a tPigCode can register only 1 Pig Latin statement against the Pig server at a time. That means you would need to chain multiple tPigCode.</description>
      <pubDate>Tue, 04 Jun 2013 16:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TPigCode-component-does-not-work-correctly-it-seems/m-p/2352679#M119030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-04T16:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: TPigCode component does not work correctly it seems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TPigCode-component-does-not-work-correctly-it-seems/m-p/2352680#M119031</link>
      <description>In order to register a JAR within a PIG jb, you will need to use the hadoop properties in the advanced settings of the tPigLoad:&lt;BR /&gt;--&amp;gt; Key: "REGISTER"&lt;BR /&gt;--&amp;gt; Value: "/root/etl/lib/datafu-0.0.9.jar"</description>
      <pubDate>Tue, 04 Jun 2013 16:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TPigCode-component-does-not-work-correctly-it-seems/m-p/2352680#M119031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-04T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: TPigCode component does not work correctly it seems</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TPigCode-component-does-not-work-correctly-it-seems/m-p/2352681#M119032</link>
      <description>See this: 
&lt;BR /&gt;
&lt;A href="http://kontafirmowetutaj.pl" target="_blank" rel="nofollow noopener noreferrer"&gt;konto bankowe&lt;/A&gt;</description>
      <pubDate>Mon, 17 Jun 2013 20:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TPigCode-component-does-not-work-correctly-it-seems/m-p/2352681#M119032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-17T20:03:54Z</dc:date>
    </item>
  </channel>
</rss>

