<?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: hive import from sql server? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/hive-import-from-sql-server/m-p/109639#M72489</link>
    <description>&lt;P&gt;You can simply use sqoop&lt;/P&gt;</description>
    <pubDate>Thu, 21 Apr 2016 21:02:20 GMT</pubDate>
    <dc:creator>mgaido</dc:creator>
    <dc:date>2016-04-21T21:02:20Z</dc:date>
    <item>
      <title>hive import from sql server?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-import-from-sql-server/m-p/109638#M72488</link>
      <description />
      <pubDate>Fri, 16 Sep 2022 10:15:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-import-from-sql-server/m-p/109638#M72488</guid>
      <dc:creator>omkarmotoe</dc:creator>
      <dc:date>2022-09-16T10:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: hive import from sql server?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-import-from-sql-server/m-p/109639#M72489</link>
      <description>&lt;P&gt;You can simply use sqoop&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 21:02:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-import-from-sql-server/m-p/109639#M72489</guid>
      <dc:creator>mgaido</dc:creator>
      <dc:date>2016-04-21T21:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: hive import from sql server?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-import-from-sql-server/m-p/109640#M72490</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/28395/how-to-load-the-data-from-sql-server-to-hdfs-using.html#comment-28450" target="_blank"&gt;https://community.hortonworks.com/questions/28395/how-to-load-the-data-from-sql-server-to-hdfs-using.html#comment-28450&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 21:05:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-import-from-sql-server/m-p/109640#M72490</guid>
      <dc:creator>isoardi</dc:creator>
      <dc:date>2016-04-21T21:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: hive import from sql server?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/hive-import-from-sql-server/m-p/109641#M72491</link>
      <description>&lt;P&gt;You need use sqoop for direct import on hive form sql.&lt;/P&gt;&lt;P&gt;First download sql jdbc
&lt;A href="https://www.microsoft.com/en-us/download/details.aspx?id=11774" target="_blank"&gt;https://www.microsoft.com/en-us/download/details.aspx?id=11774&lt;/A&gt;&lt;/P&gt;&lt;P&gt;place jar on sqoop master server:
/usr/hdp/current/sqoop-server/lib&lt;/P&gt;&lt;P&gt;use this command for import:&lt;/P&gt;&lt;P&gt;import --connect jdbc:sqlserver://[SQL_SERVER_NAME]:[SQL_PORT]/[DB-NAME] --username "[SQL_USERNAME]" --password "[PASSWORD]" --query '[INSERT QUERY HERE] WHERE $CONDITIONS' -m 1 --hive-import --hive-database [DB_HIVE] --create-hive-table --hive-table [HIVE_TABLE]&lt;/P&gt;&lt;P&gt;
if use --query you must have WHERE $CONDITIONS on query.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2016 21:29:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/hive-import-from-sql-server/m-p/109641#M72491</guid>
      <dc:creator>aubaldi</dc:creator>
      <dc:date>2016-04-21T21:29:40Z</dc:date>
    </item>
  </channel>
</rss>

