<?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: Using Sqoop Netezza to hive import what if I want to changed some data type ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105037#M21514</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3144/vijaysvnit2005.html" nodeid="3144"&gt;@mike pal&lt;/A&gt; no problem, let me know if that works for you and accept the answer if you're satisfied.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2016 23:54:46 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-03-02T23:54:46Z</dc:date>
    <item>
      <title>Using Sqoop Netezza to hive import what if I want to changed some data type ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105032#M21509</link>
      <description>&lt;P&gt;I am using sqoop netezza database to Hive import.Successfully, hive-import when I check data type so some of the data type changed as Netezza data type:&lt;/P&gt;&lt;P&gt;Netezza----&amp;gt; HIVE&lt;/P&gt;&lt;P&gt;BIGINT---BIGINT&lt;/P&gt;&lt;P&gt;DATE---STRING&lt;/P&gt;&lt;P&gt;INT------INT&lt;/P&gt;&lt;P&gt;CHARACTER---STRING&lt;/P&gt;&lt;P&gt;NUMERIC----DOUBLE&lt;/P&gt;&lt;P&gt;TIMESTAMP----STRING&lt;/P&gt;&lt;P&gt;BUT I want (1) Timestamp in hive instead of String (2) numeric--double...this is right??&lt;/P&gt;&lt;P&gt;I might transfer more tables so what Can i do to keep my data type in hive instead of sqoop automatically transfer..&lt;/P&gt;&lt;P&gt;what is best solution for this???&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 05:51:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105032#M21509</guid>
      <dc:creator>vijaysvnit2005</dc:creator>
      <dc:date>2016-03-02T05:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sqoop Netezza to hive import what if I want to changed some data type ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105033#M21510</link>
      <description>&lt;P&gt;You can pas the following property --map-column-hive and override the default type &lt;A href="https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_controlling_type_mapping" target="_blank"&gt;https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_controlling_type_mapping&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 06:55:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105033#M21510</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-02T06:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sqoop Netezza to hive import what if I want to changed some data type ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105034#M21511</link>
      <description>&lt;P&gt;Thanks Artem, How can I specify in sqoop query in one command &lt;/P&gt;&lt;P&gt;sqoop import --connect jdbc:netezza://HOSTNAME/dbNAME --username username --password password --query 'select * from db.schema.tablename WHERE $CONDITIONS' --hive-import --target-dir /user/hive/test1 --hive-table dbname.tablename --split-by columnname&lt;/P&gt;&lt;P&gt;if I am using this query I can get data type numeric to double and timestamp--string I want to changed this data type in hive as well.. So can you suggest me what my sqoop query looks like?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 22:52:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105034#M21511</guid>
      <dc:creator>vijaysvnit2005</dc:creator>
      <dc:date>2016-03-02T22:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sqoop Netezza to hive import what if I want to changed some data type ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105035#M21512</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3144/vijaysvnit2005.html" nodeid="3144"&gt;@mike pal&lt;/A&gt; please read the instructions I provided, there's an example for --map-column-java but same should apply to --map-column-hive&lt;/P&gt;&lt;PRE&gt;sqoop import ... --map-column-java id=String,value=Integer
&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Mar 2016 23:48:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105035#M21512</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-02T23:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sqoop Netezza to hive import what if I want to changed some data type ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105036#M21513</link>
      <description>&lt;P&gt;Thanks Artem ..really apreciated&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 23:53:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105036#M21513</guid>
      <dc:creator>vijaysvnit2005</dc:creator>
      <dc:date>2016-03-02T23:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Sqoop Netezza to hive import what if I want to changed some data type ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105037#M21514</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3144/vijaysvnit2005.html" nodeid="3144"&gt;@mike pal&lt;/A&gt; no problem, let me know if that works for you and accept the answer if you're satisfied.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 23:54:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Sqoop-Netezza-to-hive-import-what-if-I-want-to-changed/m-p/105037#M21514</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-02T23:54:46Z</dc:date>
    </item>
  </channel>
</rss>

