<?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: getting error when trying to deilimit the rows of data using pigStorage('|') in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/getting-error-when-trying-to-deilimit-the-rows-of-data-using/m-p/195781#M65698</link>
    <description>&lt;P&gt;One point: if you specify a delimiter that is not the true delimiter in the file ... no error will be thrown.  Rather, it will treat the full record (including its true delimiters) as a single field. In this case, the true delims will just be characters in a string.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2017 19:55:09 GMT</pubDate>
    <dc:creator>gkeys</dc:creator>
    <dc:date>2017-07-28T19:55:09Z</dc:date>
    <item>
      <title>getting error when trying to deilimit the rows of data using pigStorage('|')</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/getting-error-when-trying-to-deilimit-the-rows-of-data-using/m-p/195778#M65695</link>
      <description>&lt;PRE&gt;&amp;gt;&amp;gt;lp = load '/employee.txt ' using pigStorage('|') as (aa,bb,cc,dd,ee);&lt;/PRE&gt;&lt;P&gt;And error is like above&lt;/P&gt;&lt;P&gt;2017-07-27 22:16:48,830 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1070: Could not resolve pigStorage using imports: [, java.lang., org.apache.pig.builtin., org.apache.pig.impl.builtin.]
Details at logfile: /root/Desktop/pig_1501174002903.log&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:00:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/getting-error-when-trying-to-deilimit-the-rows-of-data-using/m-p/195778#M65695</guid>
      <dc:creator>aditya_it_99</dc:creator>
      <dc:date>2022-09-16T12:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: getting error when trying to deilimit the rows of data using pigStorage('|')</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/getting-error-when-trying-to-deilimit-the-rows-of-data-using/m-p/195779#M65696</link>
      <description>&lt;P&gt;We generally encounter such errors when the delimiter specified in command doesn't match the delimiter in input file. Also make sure you are giving complete and right path of file&lt;/P&gt;&lt;P&gt;Please try below syntax&lt;/P&gt;&lt;P&gt;load '/path_to_file' using PigStorage('|') as (aa,bb,cc,dd,ee);&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:04:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/getting-error-when-trying-to-deilimit-the-rows-of-data-using/m-p/195779#M65696</guid>
      <dc:creator>sreeviswa_athic</dc:creator>
      <dc:date>2017-07-28T18:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: getting error when trying to deilimit the rows of data using pigStorage('|')</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/getting-error-when-trying-to-deilimit-the-rows-of-data-using/m-p/195780#M65697</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/115182/hortonworks-sandbox-not-found-in-azure-marketplace-1.html#"&gt;@&lt;/A&gt;&lt;A href="https://community.hortonworks.com/users/24227/adityait99.html"&gt;Aditya Jadhav&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Small mistake: you need uppercase PigStorage('|').  &lt;/P&gt;&lt;PRE&gt;lp = load '/employee.txt ' using PigStorage('|') as (aa,bb,cc,dd,ee);&lt;/PRE&gt;&lt;P&gt;Error shows that it is looking for a java function called pigStorage and cannot find it.  In addition to Pig's native functions (which PigStorage belongs) functions can be found in referenced libraries (e.g. 3rd party or ones you build yourself as User Defined Functions).&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 19:34:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/getting-error-when-trying-to-deilimit-the-rows-of-data-using/m-p/195780#M65697</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2017-07-28T19:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: getting error when trying to deilimit the rows of data using pigStorage('|')</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/getting-error-when-trying-to-deilimit-the-rows-of-data-using/m-p/195781#M65698</link>
      <description>&lt;P&gt;One point: if you specify a delimiter that is not the true delimiter in the file ... no error will be thrown.  Rather, it will treat the full record (including its true delimiters) as a single field. In this case, the true delims will just be characters in a string.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 19:55:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/getting-error-when-trying-to-deilimit-the-rows-of-data-using/m-p/195781#M65698</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2017-07-28T19:55:09Z</dc:date>
    </item>
  </channel>
</rss>

