<?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 import writes NULL when reading Null values from source table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/sqoop-import-writes-NULL-when-reading-Null-values-from/m-p/207378#M169339</link>
    <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;Even though I declared --null-string as --null-string '\\N' in the sqoop import synatax. still i am seeing "null" string value for all string fields where value is null in source schma. can you please provide any solution to it.&lt;/P&gt;&lt;P&gt;below is my sqoop import syntax.&lt;/P&gt;&lt;P&gt;import -Dhadoop.security.credential.provider.path=${jceks_loc} --password-alias ${passwordAlias} --username ${userName} --connect ${connection} --table ${sourceSchema}.${sourceTable} --hive-import  --hive-table ${hiveTable}  --target-dir ${hdfsDir} --fields-terminated-by "|" --delete-target-dir --null-string '\\N' -m 1&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brahma &lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2017 23:20:39 GMT</pubDate>
    <dc:creator>bramhanaelem</dc:creator>
    <dc:date>2017-07-10T23:20:39Z</dc:date>
  </channel>
</rss>

