BookmarkSubscribeRSS Feed
angie16
Obsidian | Level 7

I have a libname with this as an option and I am still getting the table name prefixing the variable name.  I am using SAS 9.4.

 

Here is the code.   Do I have something wrong in the syntax?

 

libname &lib_name. ODBC dsn=HiveODBC_PROD user=&user_id. password="&hive_pwd." schema=&schema_name.
DBLIBINIT='set hive.resultset.use.unique.column.names=false'
connection=sharedread;

 

3 REPLIES 3
ChrisNZ
Tourmaline | Level 20

Long shot. Have you tried adding a semicolon?

DBLIBINIT='set hive.resultset.use.unique.column.names=false;'  ?

 

Or change the value in file hive-site.xml ?

 

 

angie16
Obsidian | Level 7

Unfortunately, the ; doesn't seem to help.

Or change the value in file hive-site.xml ? could you give me a bit more info on this.  I am not sure what you mean....

 

Attaching the proc contents so you can see all the versioning and specs.

 

 

ChrisNZ
Tourmaline | Level 20

Run

%put %sysfunc(sysget(SAS_HADOOP_CONFIG_PATH));

to see the location of the xml files that define your configuration.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1890 views
  • 0 likes
  • 2 in conversation