<?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: List Hadoop Tables *inside* SAS in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629961#M18866</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My query looks like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC	SQL;
	CONNECT	TO	ODBC	AS	Hive_DB	
		(NOPROMPT	=	"uid=jbarbour; pwd=XXXXXXXX; dsn=OPSI_HIVE_STG1; 
						host=dbms0502; port=10000;schema=edps; authmech=3")
						;
	EXECUTE(Show Tables)	BY	Hive_DB;
	DISCONNECT	FROM	Hive_DB;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;My log looks like:&lt;/P&gt;
&lt;PRE&gt;2 The SAS System                                                                                15:44 Thursday, March 5, 2020

29         PROC	SQL;
30         	CONNECT	TO	ODBC	AS	Hive_DB	
31         		(NOPROMPT	=	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
32         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)
33         						;
ODBC: AUTOCOMMIT is YES for connection 2
34         	EXECUTE(Show Tables)	BY	Hive_DB;
 
ODBC_1: Executed: on connection 2
Show Tables
 
 
Summary Statistics for ODBC are:
Total SQL execution seconds were:                   0.158019
Total seconds used by the ODBC ACCESS engine were     0.159900
 
35         	DISCONNECT	FROM	Hive_DB;
36         QUIT;
NOTE: PROCEDURE SQL used (Total process time):
      real time           0.61 seconds
      user cpu time       0.01 seconds
      system cpu time     0.03 seconds
      memory              365.28k
      OS Memory           20828.00k
      Timestamp           03/05/2020 03:44:38 PM
      Step Count                        35  Switch Count  0&lt;/PRE&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Mar 2020 21:47:38 GMT</pubDate>
    <dc:creator>jimbarbour</dc:creator>
    <dc:date>2020-03-05T21:47:38Z</dc:date>
    <item>
      <title>List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629959#M18864</link>
      <description>&lt;P&gt;I'm running SAS 9.4 M6 on a 64 bit Windows Server 2016 machine.&amp;nbsp; I have both Enterprise Guide (8.1) and Display Manager available to me, but I typically use EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm connecting to a Hadoop database.&amp;nbsp; I can create a Libname, or I can access the database via PROC SQL and explicit pass through.&amp;nbsp; Both methods are using ODBC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ISSUE:&lt;/STRONG&gt;&amp;nbsp; I can't get a list of Hadoop tables into my SAS session.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I know the table name in advance, I can successfully run a query, but it's darned inconvenient not to be able to get a list of tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In past shops, I've been able to see a list of the Hadoop tables after assigning a Libname in the SAS EG "Servers" panel.&amp;nbsp; In this case, I can see the Libname, but when I click on the drop down, there are no tables.&amp;nbsp; Display Manager behaves similarly.&amp;nbsp; See SAS code for Libname below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried running a Proc SQL against&amp;nbsp;DICTIONARY.TABLES, but I got no rows in return.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also tried using PROC DATASETS.&amp;nbsp; In my log, I get:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;29         PROC	DATASETS
30         	LIBRARY=HIVEDB
31         	;
ODBC: AUTOCOMMIT is YES for connection 1
ODBC: &lt;STRONG&gt;Called SQLTables with schema of NULL&lt;/STRONG&gt;
WARNING: No matching members in directory.
32         RUN;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can do a SHOW TABLES via an explicit pass through, but nothing gets returned to the SAS log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Question 1&lt;/STRONG&gt;:&amp;nbsp; I notice in my log from my Proc Datasets the message, "Called SQLTables with schema of NULL".&amp;nbsp; Is there a way to tell Proc Datasets that I want a particular schema?&amp;nbsp; I did specify a schema on my Libname, but apparently it's not coded correctly or isn't getting passed to Proc Datasets.&amp;nbsp; Here's my Libname:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname hiveDB odbc noprompt="uid=jbarbour; pwd=XXXXXXXXX; dsn=OPSI_HIVE_STG1; 
host=dbms0502; port=10000;schema=edps; authmech=3";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Question 2&lt;/STRONG&gt;:&amp;nbsp; Is there a way I can redirect the output of SHOW TABLES to the SAS log?&amp;nbsp; I have the following options in effect:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options SASTRACE=",,,ds" sastraceloc=saslog nostsuffix;
options source source2 mprint fullstimer notes fmterr;
options msglevel=i; 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 21:39:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629959#M18864</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-05T21:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629960#M18865</link>
      <description>What does your explicit pass through code look like?</description>
      <pubDate>Thu, 05 Mar 2020 21:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629960#M18865</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-05T21:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629961#M18866</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My query looks like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC	SQL;
	CONNECT	TO	ODBC	AS	Hive_DB	
		(NOPROMPT	=	"uid=jbarbour; pwd=XXXXXXXX; dsn=OPSI_HIVE_STG1; 
						host=dbms0502; port=10000;schema=edps; authmech=3")
						;
	EXECUTE(Show Tables)	BY	Hive_DB;
	DISCONNECT	FROM	Hive_DB;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;My log looks like:&lt;/P&gt;
&lt;PRE&gt;2 The SAS System                                                                                15:44 Thursday, March 5, 2020

29         PROC	SQL;
30         	CONNECT	TO	ODBC	AS	Hive_DB	
31         		(NOPROMPT	=	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
32         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)
33         						;
ODBC: AUTOCOMMIT is YES for connection 2
34         	EXECUTE(Show Tables)	BY	Hive_DB;
 
ODBC_1: Executed: on connection 2
Show Tables
 
 
Summary Statistics for ODBC are:
Total SQL execution seconds were:                   0.158019
Total seconds used by the ODBC ACCESS engine were     0.159900
 
35         	DISCONNECT	FROM	Hive_DB;
36         QUIT;
NOTE: PROCEDURE SQL used (Total process time):
      real time           0.61 seconds
      user cpu time       0.01 seconds
      system cpu time     0.03 seconds
      memory              365.28k
      OS Memory           20828.00k
      Timestamp           03/05/2020 03:44:38 PM
      Step Count                        35  Switch Count  0&lt;/PRE&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 21:47:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629961#M18866</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-05T21:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629964#M18867</link>
      <description>Google searches are showing a metastore.tbls table? Does that exist for you?</description>
      <pubDate>Thu, 05 Mar 2020 22:02:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629964#M18867</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-05T22:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629966#M18868</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37107"&gt;@jimbarbour&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your site has licence for SAS Access to Hadoop, try this instead of ODBC Connection :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc sql;
	connect to hadoop
		(READ_METHOD=HDFS                                       /* this attemps HDFS read which is faster than JDBC */
		server="&amp;lt;Serve-Name&amp;gt;"       /* the hiveserver we talk to */
		LOGIN_TIMEOUT=300
		schema=&amp;amp;hdp_schema.                                   /* this is the schema where you want to read or write data to */
		uri="&amp;lt;Server_uri&amp;gt;");&lt;BR /&gt;&lt;BR /&gt;	create table schema_hdp as 
		select * from connection to hadoop (show tables);
	disconnect from hadoop;
quit;
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 22:07:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629966#M18868</guid>
      <dc:creator>r_behata</dc:creator>
      <dc:date>2020-03-05T22:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629967#M18869</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could "metastore" be "metastor" or something?&amp;nbsp; I'm getting an 8 character message.&lt;/P&gt;
&lt;PRE&gt;29         data	test2;
30         	set	METASTORE.TBLS;
ERROR: Libref 'METASTORE' exceeds 8 characters.
ERROR: File WORK.TBLS.DATA does not exist.
31         RUN;&lt;/PRE&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 22:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629967#M18869</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-05T22:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629968#M18870</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223452"&gt;@r_behata&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We do have SAS/ACCESS for ODBC.&amp;nbsp; Let me ask and see if I can get a URI.&lt;/P&gt;
&lt;PRE&gt;---Base SAS Software                    
---SAS/STAT                             
---SAS/CONNECT                          
---SAS/Secure 168-bit                   
---SAS/Secure Windows                   
---SAS/ACCESS Interface to PC Files     
---SAS/ACCESS Interface to ODBC         
---SAS Workspace Server for Local Access
---High Performance Suite               
&lt;/PRE&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 22:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629968#M18870</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-05T22:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629971#M18871</link>
      <description>&lt;P&gt;Schema is usually called metastore?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname hiveDB odbc noprompt="uid=jbarbour; pwd=XXXXXXXXX; dsn=OPSI_HIVE_STG1; 
host=dbms0502; port=10000;schema=metastore; authmech=3";

data want;
set hivedb.tbls;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Or something like this, not sure if the schema may affect things here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC	SQL;
	CONNECT	TO	ODBC	AS	Hive_DB	
		(NOPROMPT	=	"uid=jbarbour; pwd=XXXXXXXX; dsn=OPSI_HIVE_STG1; 
						host=dbms0502; port=10000;schema=edps; authmech=3")
	create table demo as select * from connection to HIVE_DB (select * from metastore.tbls)					
	DISCONNECT	FROM	Hive_DB;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;These are just guesses based on how I know Hadoop functions, can't test unfortunately. Good Luck!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 22:39:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629971#M18871</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-05T22:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629975#M18872</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223452"&gt;@r_behata&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OK!&amp;nbsp; That did the trick!&amp;nbsp; Thank you so much!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The key was "SELECT * FROM CONNECTION TO Hive_DB(Show Tables)".&amp;nbsp; I had coded&amp;nbsp;EXECUTE(Show Tables) BY Hive_DB which ran fine -- but returned nothing to SAS.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's my working code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC	SQL;
	CONNECT	TO	ODBC	AS	Hive_DB	
		(NOPROMPT	=	"uid=jbarbour; pwd=XXXXXXXX; dsn=OPSI_HIVE_STG1; 
						host=dbms0502; port=10000;schema=charttarget; authmech=3")
						;
	CREATE	TABLE	WORK.Hadoop_Table_List	AS
		&lt;STRONG&gt;SELECT	*	FROM	CONNECTION	TO	Hive_DB(SHOW TABLES);&lt;/STRONG&gt;
	DISCONNECT	FROM	Hive_DB;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I thank you again,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 22:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629975#M18872</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-05T22:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629986#M18873</link>
      <description>Out of curiosity does the metastore query work as well or does it not work?</description>
      <pubDate>Fri, 06 Mar 2020 01:26:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629986#M18873</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-06T01:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629994#M18874</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for following up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I couldn't get it to work.&amp;nbsp; It errors out.&amp;nbsp; I ran the same code as I had before except that I changed the schema to metastore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error messages isn't particularly instructive, but I assume that it just can't find a schema named metastore.&lt;/P&gt;
&lt;PRE&gt;ERROR: CLI error trying to establish connection: Unable to retrieve error message.
&lt;/PRE&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 02:36:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/629994#M18874</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-06T02:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/630142#M18876</link>
      <description>Weird, thought the explicit sql would have worked for sure. Oh well, learned something &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 06 Mar 2020 16:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/630142#M18876</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-06T16:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/630239#M18878</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well, the explicit pass through&amp;nbsp;&lt;EM&gt;did&lt;/EM&gt; in fact work, just not the schema "metastore".&amp;nbsp; I'm thinking that, while "metastore" may be common as a schema, it is unfortunately not universal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 20:54:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/630239#M18878</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-06T20:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: List Hadoop Tables *inside* SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/630971#M18906</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223452"&gt;@r_behata&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually, there's an even better way to do this:&amp;nbsp; List the schema twice on a Libname.&amp;nbsp; As counter-intuitive and kludgey as that sounds, it works.&amp;nbsp; When done in this fashion, Proc Datasets works, SQL against DICTIONARY tables works, and, more importantly, the tables are listed in Display Manager or Enterprise Guide just as though they were SAS tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME	HiveDB	ODBC	SCHEMA		=	ChartTarget
						NOPROMPT	=	"UID=jbarbour; PWD=&amp;amp;lPwd; HOST=DBMS0502; 
										DSN=OPSI_HIVE_STG1; SCHEMA=ChartTarget; 
										PORT=10000; AUTHMECH=3"
										;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Notice in the above example that I specify the schema twice, once outside the NOPROMPT and once inside.&amp;nbsp; The schema inside the NOPROMPT appears to be used for the actual connection to the databse.&amp;nbsp; The schema outside the NOPROMPT appears to be used by SAS to populate Proc Datasets, the SAS GUI's (DMS and EG), and the DICTIONARY tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The direct connection with a "Select * from connection to" syntax is still a very useful construct, so the original answer from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223452"&gt;@r_behata&lt;/a&gt;&amp;nbsp;still stands as the solution.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 15:50:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/List-Hadoop-Tables-inside-SAS/m-p/630971#M18906</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-10T15:50:29Z</dc:date>
    </item>
  </channel>
</rss>

