<?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 --split-by on a string /varchar column in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-split-by-on-a-string-varchar-column/m-p/165529#M127891</link>
    <description>&lt;P&gt;No, it must be numeric because according to the &lt;A href="https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html"&gt;specs&lt;/A&gt;: "By default sqoop will use query select min(&amp;lt;split-by&amp;gt;), max(&amp;lt;split-by&amp;gt;) from &amp;lt;table name&amp;gt; to find out boundaries for creating splits." The alternative is to use --boundary-query which also requires numeric columns. Otherwise the Sqoop job will fail. If you don't have such a column in your table the only workaround is to use only 1 mapper: "-m 1".&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2016 22:13:17 GMT</pubDate>
    <dc:creator>pminovic</dc:creator>
    <dc:date>2016-04-11T22:13:17Z</dc:date>
  </channel>
</rss>

