<?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 How to call a stored procudre in Sqoop in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-call-a-stored-procudre-in-Sqoop/m-p/208939#M62866</link>
    <description>&lt;P&gt;While trying to call a stored procedure in sqoop eval its throwing be below error.&lt;/P&gt;&lt;P&gt;I wanted to truncate table before sqoop export  using stored procedure.&lt;/P&gt;&lt;P&gt;can I please get some helps from the experts!!&lt;/P&gt;&lt;PRE&gt;&amp;lt;arg&amp;gt;${passwordAlias}&amp;lt;/arg&amp;gt;
            &amp;lt;arg&amp;gt;--query&amp;lt;/arg&amp;gt;
            &amp;lt;arg&amp;gt;p_filter_tbl('${FTabName}')&amp;lt;/arg&amp;gt;

&lt;/PRE&gt;&lt;P&gt;Error&lt;/P&gt;&lt;P&gt;2296 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool 
- Unrecognized argument: --call&lt;/P&gt;&lt;P&gt;2296 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool 
- Unrecognized argument: --call&lt;/P&gt;&lt;P&gt;2296 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool 
- Unrecognized argument: p_filter_tbll('PF_STG')&lt;/P&gt;&lt;P&gt;2296 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool 
- Unrecognized argument: p_filter_tbl('PF_STG')&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jun 2017 16:22:05 GMT</pubDate>
    <dc:creator>das_dineshk</dc:creator>
    <dc:date>2017-06-14T16:22:05Z</dc:date>
    <item>
      <title>How to call a stored procudre in Sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-call-a-stored-procudre-in-Sqoop/m-p/208939#M62866</link>
      <description>&lt;P&gt;While trying to call a stored procedure in sqoop eval its throwing be below error.&lt;/P&gt;&lt;P&gt;I wanted to truncate table before sqoop export  using stored procedure.&lt;/P&gt;&lt;P&gt;can I please get some helps from the experts!!&lt;/P&gt;&lt;PRE&gt;&amp;lt;arg&amp;gt;${passwordAlias}&amp;lt;/arg&amp;gt;
            &amp;lt;arg&amp;gt;--query&amp;lt;/arg&amp;gt;
            &amp;lt;arg&amp;gt;p_filter_tbl('${FTabName}')&amp;lt;/arg&amp;gt;

&lt;/PRE&gt;&lt;P&gt;Error&lt;/P&gt;&lt;P&gt;2296 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool 
- Unrecognized argument: --call&lt;/P&gt;&lt;P&gt;2296 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool 
- Unrecognized argument: --call&lt;/P&gt;&lt;P&gt;2296 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool 
- Unrecognized argument: p_filter_tbll('PF_STG')&lt;/P&gt;&lt;P&gt;2296 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool 
- Unrecognized argument: p_filter_tbl('PF_STG')&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 16:22:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-call-a-stored-procudre-in-Sqoop/m-p/208939#M62866</guid>
      <dc:creator>das_dineshk</dc:creator>
      <dc:date>2017-06-14T16:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a stored procudre in Sqoop</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-call-a-stored-procudre-in-Sqoop/m-p/208940#M62867</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/14978/dasdineshk.html" nodeid="14978"&gt;@Dinesh Das&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You might have better luck passing in the actual TRUNCATE TABLE statement in your sqoop eval using the --query option instead of trying to --call the stored procedure (I think those are only supported in sqoop export, not sqoop eval, but I could be mistaken).  &lt;/P&gt;&lt;P&gt;As always, if you find this post useful please "accept" the answer.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 22:07:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-call-a-stored-procudre-in-Sqoop/m-p/208940#M62867</guid>
      <dc:creator>ssahi</dc:creator>
      <dc:date>2017-06-14T22:07:22Z</dc:date>
    </item>
  </channel>
</rss>

