<?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/188937#M151030</link>
    <description>&lt;P&gt;Got it &lt;A rel="user" href="https://community.cloudera.com/users/86184/elangovankrishna.html" nodeid="86184"&gt;@Krish E&lt;/A&gt;!&lt;BR /&gt;If you change your split-by for boundary-queries, do you still have the same issue?  &lt;/P&gt;&lt;PRE&gt;--boundary-query "SELECT MIN(cast(order_number as UNSIGNED)), MAX(cast(order_number as UNSIGNED)) FROM archive_orders"&lt;/PRE&gt;Not sure if your issue isn't related to the single-quote. &lt;BR /&gt;&lt;PRE&gt;INFO db.DataDrivenDBInputFormat: BoundingValsQuery: SELECT MIN(` &amp;lt;- cast(order_number as UNSIGNED) -&amp;gt;`), MAX(`&amp;lt;-cast(order_number as UNSIGNED)-&amp;gt;`) FROM `archive_orders`&lt;/PRE&gt;&lt;P&gt;As you using the split-by alongside with the sqoop import-Dorg.apache.sqoop.splitter.allow_text_splitter=true, guess sqoop is taking the whole cast function as a column name, but again, it's just a guess &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jul 2018 10:49:49 GMT</pubDate>
    <dc:creator>vmurakami</dc:creator>
    <dc:date>2018-07-09T10:49:49Z</dc:date>
  </channel>
</rss>

