<?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 Using Pig to Load Data into ORC in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Pig-to-Load-Data-into-ORC/m-p/120401#M30732</link>
    <description>&lt;P&gt;I have a script that loads data into an ORC table, seems I can only load TEXT data type.   Are other data types supported?&lt;/P&gt;&lt;P&gt;Or is there a better way to load bulk CSV data and load into ORC tables.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Jun 2016 04:09:25 GMT</pubDate>
    <dc:creator>TimothySpann</dc:creator>
    <dc:date>2016-06-04T04:09:25Z</dc:date>
    <item>
      <title>Using Pig to Load Data into ORC</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Pig-to-Load-Data-into-ORC/m-p/120401#M30732</link>
      <description>&lt;P&gt;I have a script that loads data into an ORC table, seems I can only load TEXT data type.   Are other data types supported?&lt;/P&gt;&lt;P&gt;Or is there a better way to load bulk CSV data and load into ORC tables.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jun 2016 04:09:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Pig-to-Load-Data-into-ORC/m-p/120401#M30732</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-06-04T04:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using Pig to Load Data into ORC</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Pig-to-Load-Data-into-ORC/m-p/120402#M30733</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt;&lt;P&gt;You can also use pig ORC storage and store file in ORC, afterward create external hive table and point it to orc directory.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pig.apache.org/docs/r0.15.0/func.html#OrcStorage" target="_blank"&gt;https://pig.apache.org/docs/r0.15.0/func.html#OrcStorage&lt;/A&gt;&lt;/P&gt;&lt;H4&gt;Data types&lt;/H4&gt;&lt;P&gt;Most Orc data type has one to one mapping to Pig data type. Several exceptions are:&lt;/P&gt;&lt;P&gt;Loader side:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Orc STRING/CHAR/VARCHAR all map to Pig varchar&lt;/LI&gt;&lt;LI&gt;Orc BYTE/BINARY all map to Pig bytearray&lt;/LI&gt;&lt;LI&gt;Orc TIMESTAMP/DATE all maps to Pig datetime&lt;/LI&gt;&lt;LI&gt;Orc DECIMAL maps to Pig bigdecimal&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Storer side:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Pig chararray maps to Orc STRING&lt;/LI&gt;&lt;LI&gt;Pig datetime maps to Orc TIMESTAMP&lt;/LI&gt;&lt;LI&gt;Pig bigdecimal/biginteger all map to Orc DECIMAL&lt;/LI&gt;&lt;LI&gt;Pig bytearray maps to Orc BINARY&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sat, 04 Jun 2016 04:39:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Pig-to-Load-Data-into-ORC/m-p/120402#M30733</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-04T04:39:53Z</dc:date>
    </item>
  </channel>
</rss>

