<?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: Unable to convert Hive table to SAS table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-convert-Hive-table-to-SAS-table/m-p/615979#M180252</link>
    <description>&lt;P&gt;I don't think that PROC SQL has seen your QUIT statement.&amp;nbsp; You have unbalanced parentheses (5 open parens and 4 close parens), so it looks like the QUIT is embedded in the EXECUTE clause.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2020 16:34:01 GMT</pubDate>
    <dc:creator>mkeintz</dc:creator>
    <dc:date>2020-01-08T16:34:01Z</dc:date>
    <item>
      <title>Unable to convert Hive table to SAS table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-convert-Hive-table-to-SAS-table/m-p/615962#M180247</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create row number in a Hive table and pull it to a SAS table, but for some reason the SAS table cannot be created. There are no error or warning. It is just after running, the SAS table does not exist and cannot be located in the defined library. However, if I do not have the code that creates row number before converting to SAS table, the table will be saved. Following is the code for creating row number and taking the first row within id groups on Hive table and convert it to SAS table:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
connection using df20;
/*I omitted the code that created temp table id_f */

execute (create temporary table id_f1 as
  	select *
	from (
    select 
        *, ROW_NUMBER() OVER (partition by id) as rownum
    from id_f 
	
	) ranked
	where ranked.rownum = 1
by df20;


/*pull view of final id table to SAS server*/
create table myfolder.id_f2 as
	select * from connection to df20
		(select * from id_f1);
		
Disconnect from df20;


quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Appreciate any help!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 15:33:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-convert-Hive-table-to-SAS-table/m-p/615962#M180247</guid>
      <dc:creator>lydiawawa</dc:creator>
      <dc:date>2020-01-08T15:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to convert Hive table to SAS table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-convert-Hive-table-to-SAS-table/m-p/615979#M180252</link>
      <description>&lt;P&gt;I don't think that PROC SQL has seen your QUIT statement.&amp;nbsp; You have unbalanced parentheses (5 open parens and 4 close parens), so it looks like the QUIT is embedded in the EXECUTE clause.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 16:34:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-convert-Hive-table-to-SAS-table/m-p/615979#M180252</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2020-01-08T16:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to convert Hive table to SAS table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-convert-Hive-table-to-SAS-table/m-p/615981#M180253</link>
      <description>&lt;P&gt;Do you know the HDFS path for your Temp Schema ? Check to see if you notice any files there.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These options will enable additional additional details in your log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;options SASTRACE="ds" sastraceloc=saslog nostsuffix;
options msglevel=i;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jan 2020 16:46:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-convert-Hive-table-to-SAS-table/m-p/615981#M180253</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2020-01-08T16:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to convert Hive table to SAS table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Unable-to-convert-Hive-table-to-SAS-table/m-p/616002#M180263</link>
      <description>&lt;P&gt;Thank you all for looking into this case. It is caused by the missing parentheses, and I would definitely use &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223452"&gt;@r_behata&lt;/a&gt; for checks. Sorry for the kinda "stupid" question..&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 18:14:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Unable-to-convert-Hive-table-to-SAS-table/m-p/616002#M180263</guid>
      <dc:creator>lydiawawa</dc:creator>
      <dc:date>2020-01-08T18:14:25Z</dc:date>
    </item>
  </channel>
</rss>

