<?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: sqoop export from Hive table stored in Parquet format to Oracle CLOB column results in (null) value in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169076#M53964</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/15966/ramprasadsivaprakasam.html" nodeid="15966"&gt;@Ramprasad S&lt;/A&gt;&lt;P&gt;I don't know off the top of my head, do you mind opening this as a new question and accept this. It will be easier to find an answer that way.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2017 22:10:22 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2017-02-13T22:10:22Z</dc:date>
    <item>
      <title>sqoop export from Hive table stored in Parquet format to Oracle CLOB column results in (null) value</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169073#M53961</link>
      <description>&lt;P&gt;I am trying to export a String column from Hive table (stored in Parquet format) to Oracle CLOB data type column using &lt;STRONG&gt;&lt;EM&gt;sqoop export&lt;/EM&gt;&lt;/STRONG&gt;. Below are the commands I run for creation of tables in Oracle &amp;amp; Hive and, the sqoop command I use to to export the data.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table creation &amp;amp; insert into Hive:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;
create table default.sqoop_oracle_clob_test (&lt;STRONG&gt;sample_id&lt;/STRONG&gt; int, &lt;STRONG&gt;verylargestring&lt;/STRONG&gt; String) stored as PARQUET;&lt;/P&gt;&lt;P&gt; 
[SUCCESS] &lt;/P&gt;&lt;P&gt;insert into default.sqoop_oracle_clob_test (&lt;STRONG&gt;sample_id&lt;/STRONG&gt;, &lt;STRONG&gt;verylargestring&lt;/STRONG&gt;) values (123, "Really a very large String");&lt;/P&gt;&lt;P&gt; 
insert into default.sqoop_oracle_clob_test (&lt;STRONG&gt;sample_id&lt;/STRONG&gt;, &lt;STRONG&gt;verylargestring&lt;/STRONG&gt;) values (456, "Another very large String"); 
[SUCCESS]&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table creation in Oracle&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;
&lt;EM&gt;create table sqoop_exported_oracle (&lt;STRONG&gt;sample_id&lt;/STRONG&gt; NUMBER, &lt;STRONG&gt;verylargestring&lt;/STRONG&gt; CLOB); &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[success]&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sqoop export command:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;sqoop \&lt;/P&gt;&lt;P&gt;
export \ &lt;/P&gt;&lt;P&gt;--connect jdbc:oracle:thin:@//host:port/&lt;EM&gt;database_name&lt;/EM&gt; \ &lt;/P&gt;&lt;P&gt;--username ****** \ &lt;/P&gt;&lt;P&gt;--password ****** \ &lt;/P&gt;&lt;P&gt;--table sqoop_exported_oracle \ &lt;/P&gt;&lt;P&gt;--columns SAMPLE_ID,VERYLARGESTRING \ &lt;/P&gt;&lt;P&gt;--map-column-java "VERYLARGESTRING=String" \ &lt;/P&gt;&lt;P&gt;--hcatalog-table "sqoop_oracle_clob_test" \ &lt;/P&gt;&lt;P&gt;--hcatalog-database "default"&lt;/P&gt;&lt;P&gt;sqoop job executes fine without any error messages and displays the message "Exported 2 records".&lt;/P&gt;&lt;P&gt;The result in Oracle table is as below,&lt;/P&gt;&lt;P&gt;select * from sqoop_exported_oracle;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sample_id | verylargestring&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;123 | (null) &lt;/P&gt;&lt;P&gt;456 | (null) &lt;/P&gt;&lt;P&gt;I tried using --staging-table as well but, resulted in same. Can anyone help me out here?? Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 15:02:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169073#M53961</guid>
      <dc:creator>ramprasad_sivap</dc:creator>
      <dc:date>2017-02-10T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop export from Hive table stored in Parquet format to Oracle CLOB column results in (null) value</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169074#M53962</link>
      <description>&lt;P&gt;from sqoop 1.4.6 user guide &lt;A href="https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_supported_data_types" target="_blank"&gt;https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_supported_data_types&lt;/A&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;IMG alt="[Note&amp;gt;" src="https://ip1.i.lithium.com/086e52050cfaf9cc867ba1fa16a2314bae16f564/68747470733a2f2f73716f6f702e6170616368652e6f72672f646f63732f312e342e362f696d616765732f6e6f74652e706e67" /&gt;&lt;/TD&gt;&lt;TH&gt;Note&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Data types RAW, LONG and LOB (BLOB, CLOB and NCLOB) are supported for Data Connector for Oracle and Hadoop imports. They are not supported for Data Connector for Oracle and Hadoop exports&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 10 Feb 2017 21:13:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169074#M53962</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-02-10T21:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop export from Hive table stored in Parquet format to Oracle CLOB column results in (null) value</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169075#M53963</link>
      <description>&lt;P&gt;Hi Artem,&lt;/P&gt;&lt;P&gt;Thanks for highlighting this. Could you suggest any alternative tool or idea or framework that can extract a CLOB column from Hive to Oracle.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 11:59:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169075#M53963</guid>
      <dc:creator>ramprasad_sivap</dc:creator>
      <dc:date>2017-02-13T11:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop export from Hive table stored in Parquet format to Oracle CLOB column results in (null) value</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169076#M53964</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/15966/ramprasadsivaprakasam.html" nodeid="15966"&gt;@Ramprasad S&lt;/A&gt;&lt;P&gt;I don't know off the top of my head, do you mind opening this as a new question and accept this. It will be easier to find an answer that way.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 22:10:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169076#M53964</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2017-02-13T22:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop export from Hive table stored in Parquet format to Oracle CLOB column results in (null) value</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169077#M53965</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits
&lt;/A&gt;sure I will raise this feature as a new request. Thank you.</description>
      <pubDate>Thu, 16 Feb 2017 09:06:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/169077#M53965</guid>
      <dc:creator>ramprasad_sivap</dc:creator>
      <dc:date>2017-02-16T09:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop export from Hive table stored in Parquet format to Oracle CLOB column results in (null) value</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/312572#M53966</link>
      <description>&lt;P&gt;Hello, where is the new topic? I am not able to export blob/clob from hive to oracle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 10:34:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/312572#M53966</guid>
      <dc:creator>abenesova</dc:creator>
      <dc:date>2021-03-08T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop export from Hive table stored in Parquet format to Oracle CLOB column results in (null) value</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/312617#M53967</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/70240"&gt;@abenesova&lt;/a&gt;,&amp;nbsp; I would suggest you open&lt;A href="“https://community.cloudera.com/t5/forums/postpage/board-id/Questions”" target="_blank"&gt;&amp;nbsp;a new thread&lt;/A&gt;, as this is an older post. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 15:06:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/sqoop-export-from-Hive-table-stored-in-Parquet-format-to/m-p/312617#M53967</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-03-08T15:06:45Z</dc:date>
    </item>
  </channel>
</rss>

