<?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  --split-by with sql function in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-split-by-with-sql-function/m-p/188935#M151028</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/86184/elangovankrishna.html" nodeid="86184"&gt;@Krish E&lt;/A&gt;! &lt;BR /&gt;Sorry, I miss that &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;BR /&gt;And have you tried to run without the cast? This parameter should allow you to run split-by with a varchar column.&lt;BR /&gt;Another thing that's intriguing me, I assume that this Sqoop Job worked in the past right? &lt;BR /&gt;If so, could check on the DB side if it's possible to run the following query? (Perhaps find an uncast exception)&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;select cast(order_number as UNSIGNED) from archive_orders;&lt;/PRE&gt;&lt;P&gt;I'm not sure if the error is in the sqoop side, cause I took a look at the sqoop github and didn't found any exception related to Unknown Column, so my guess would be that probably the JDBC got the error from MySQL and throw to Sqoop.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jul 2018 10:24:06 GMT</pubDate>
    <dc:creator>vmurakami</dc:creator>
    <dc:date>2018-07-09T10:24:06Z</dc:date>
  </channel>
</rss>

