<?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 --map-column hive not creating specific column dataype in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/map-column-hive-not-creating-specific-column-dataype/m-p/115989#M78783</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I recently started working on sqoop and HDFS related stuffs and I faced an issue by using&lt;STRONG&gt; &lt;/STRONG&gt;&lt;STRONG&gt;--map-column hive&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The datatype of the specified column doesn't change and below is the sqoop commmand to hdfs as parquet file,&lt;/P&gt;&lt;PRE&gt;sqoop import -Dmapreduce.job.queuename=xxxxx--connect jdbc:oracle:thin:@xxxx:1521:xxx--username xxxx--password xxx --query "SELECT * FROM imdb_pub_f_initiatives_v WHERE F_Ini_CouNTRY_CODE IN ('FR','XGL') AND \$CONDITIONS" --split-by f_ini_code -m 20 --map-column-hive "F_INI_APPEARANCE_DATE=date" --as-parquetfile --delete-target-dir --target-dir /user/ramaga09/gpub/FR/initiative/imdb_pub_f_initiatives_v2&lt;/PRE&gt;&lt;P&gt;I am running Sqoop version: 1.4.6-cdh5.5.2m,  when I checked in the _metadata files in HDFS and I could see as "long" changes were not reflecting.&lt;/P&gt;&lt;P&gt;Please correct me if am doing any wrong.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12688-sqoop-map-column-hive-date-attribute-issue.png" style="width: 868px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23065i007801B5912441EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12688-sqoop-map-column-hive-date-attribute-issue.png" alt="12688-sqoop-map-column-hive-date-attribute-issue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Ganeshbabu R&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 10:56:17 GMT</pubDate>
    <dc:creator>SparkLearner</dc:creator>
    <dc:date>2019-08-19T10:56:17Z</dc:date>
  </channel>
</rss>

