<?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>topic Re: Hive and SAS create table statements in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Hive-and-SAS-create-table-statements/m-p/582638#M165762</link>
    <description>&lt;P&gt;You should use the &lt;FONT face="courier new,courier"&gt;sastrace&lt;/FONT&gt; option to know exactly what SQL was passed to hive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even better, since you are copying from Hive to Hive, run HQL directly by using SQL passthrough:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;proc sql;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;connect using HIVELIB;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;execute by HIVELIB (create table ....);&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;quit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 23:45:32 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2019-08-20T23:45:32Z</dc:date>
    <item>
      <title>Hive and SAS create table statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hive-and-SAS-create-table-statements/m-p/582597#M165726</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create tables in HIVE from hive data using the proc sql; create table option.&amp;nbsp; These queries are taking a long time and I am seeing this statement in my log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Streaming read DISABLED: The original HiveQL succeeded where&lt;BR /&gt;the streaming read CTAS failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this causing any of the delays?&amp;nbsp; I am seeing that my sql was passed to Hadoop from seeing the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ACCESS ENGINE: SQL statement was passed to the DBMS for&lt;BR /&gt;fetching data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are configured using JDBC and pre-defined libname connections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 21:07:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hive-and-SAS-create-table-statements/m-p/582597#M165726</guid>
      <dc:creator>dkassis</dc:creator>
      <dc:date>2019-08-20T21:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hive and SAS create table statements</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hive-and-SAS-create-table-statements/m-p/582638#M165762</link>
      <description>&lt;P&gt;You should use the &lt;FONT face="courier new,courier"&gt;sastrace&lt;/FONT&gt; option to know exactly what SQL was passed to hive.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even better, since you are copying from Hive to Hive, run HQL directly by using SQL passthrough:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;proc sql;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;connect using HIVELIB;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;execute by HIVELIB (create table ....);&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;quit;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 23:45:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hive-and-SAS-create-table-statements/m-p/582638#M165762</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-08-20T23:45:32Z</dc:date>
    </item>
  </channel>
</rss>

