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;
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 ?
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.
Run
%put %sysfunc(sysget(SAS_HADOOP_CONFIG_PATH));
to see the location of the xml files that define your configuration.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.