<?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: How to execute multiple SQL queries with Sqoop import  --query command? Also what is the maximum size of query string? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141615#M104212</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14753/mahendradahiya.html" nodeid="14753"&gt;@Mahendra Dahiya&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The sqoop import --query option is intended to process a single statement and there are warnings about using complex queries.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;The facility of using free-form query in the current version of Sqoop
is limited to simple queries where there are no ambiguous projections and
no OR conditions in the WHERE clause. Use of complex queries such as
queries that have sub-queries or joins leading to ambiguous projections can
lead to unexpected results.&lt;/PRE&gt;&lt;P&gt;A few more details are at this URL: &lt;/P&gt;&lt;P&gt;&lt;A href="https://sqoop.apache.org/docs/1.4.2/SqoopUserGuide.html#_free_form_query_imports"&gt;https://sqoop.apache.org/docs/1.4.2/SqoopUserGuide.html#_free_form_query_imports&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2016 23:41:04 GMT</pubDate>
    <dc:creator>TerryP</dc:creator>
    <dc:date>2016-12-07T23:41:04Z</dc:date>
    <item>
      <title>How to execute multiple SQL queries with Sqoop import  --query command? Also what is the maximum size of query string?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141614#M104211</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to execute multiple SQL queries with Sqoop import --query command? Also what is the maximum size
of query string?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 20:15:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141614#M104211</guid>
      <dc:creator>mahendra_dahiya</dc:creator>
      <dc:date>2016-12-07T20:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple SQL queries with Sqoop import  --query command? Also what is the maximum size of query string?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141615#M104212</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14753/mahendradahiya.html" nodeid="14753"&gt;@Mahendra Dahiya&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The sqoop import --query option is intended to process a single statement and there are warnings about using complex queries.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;The facility of using free-form query in the current version of Sqoop
is limited to simple queries where there are no ambiguous projections and
no OR conditions in the WHERE clause. Use of complex queries such as
queries that have sub-queries or joins leading to ambiguous projections can
lead to unexpected results.&lt;/PRE&gt;&lt;P&gt;A few more details are at this URL: &lt;/P&gt;&lt;P&gt;&lt;A href="https://sqoop.apache.org/docs/1.4.2/SqoopUserGuide.html#_free_form_query_imports"&gt;https://sqoop.apache.org/docs/1.4.2/SqoopUserGuide.html#_free_form_query_imports&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2016 23:41:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141615#M104212</guid>
      <dc:creator>TerryP</dc:creator>
      <dc:date>2016-12-07T23:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple SQL queries with Sqoop import  --query command? Also what is the maximum size of query string?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141616#M104213</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Terry. What is the alternate solution to execute
multiple sql query ?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 00:01:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141616#M104213</guid>
      <dc:creator>mahendra_dahiya</dc:creator>
      <dc:date>2016-12-08T00:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple SQL queries with Sqoop import  --query command? Also what is the maximum size of query string?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141617#M104214</link>
      <description>&lt;P&gt;You are welcome Mahendra. I think you will have to push the complex query to the database and place those results into a different table and then perform the sqoop command on that table.  Best of luck.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 00:43:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141617#M104214</guid>
      <dc:creator>TerryP</dc:creator>
      <dc:date>2016-12-08T00:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute multiple SQL queries with Sqoop import  --query command? Also what is the maximum size of query string?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141618#M104215</link>
      <description>&lt;P&gt;How about create views in source databases.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 15:14:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-execute-multiple-SQL-queries-with-Sqoop-import-query/m-p/141618#M104215</guid>
      <dc:creator>diablo2</dc:creator>
      <dc:date>2016-12-08T15:14:27Z</dc:date>
    </item>
  </channel>
</rss>

