BookmarkSubscribeRSS Feed
PhatRam33
Fluorite | Level 6

I am running the following statements in my pass-through query and receiving the following errors on the last two statements.  I have this set after my connection string to hadoop and before my create table statement.  Any idea how to fix and what they mean? Any help from the community would be greatly appreciated =).

 

Disregard the emoj for some reason it returned this way. Should be a semi colon followed by a closed parenthesis.

 

execute(set hive.auto.convert.join=false;) by hadoop;
execute(set hive.vectorized.execution.enabled=false;) by hadoop;
execute(set hive.tez.java.opts='-Xmx8192m';) by hadoop;
execute(set hive.tez.container.size=10240;) by hadoop;

 

Errors:

 

ERROR: Prepare error: Buffer overflow
on the set hive.tez.java.opts='-Xmx8192m';


ERROR: Execute error: org.apache.hive.service.cli.HiveSQLException: Error while
processing statement: 'SET hive.tez.container.size=10240;' FAILED
because hive.tez.container.size expects INT type value.
2 REPLIES 2
Reeza
Super User
If you post your code using the code blocks you do not get emoji's. I've updated your post to reflect that, but unfortunately do not know the answer to your question.

I'm assuming these commands work when you use them directly on the DB though, outside of SAS?
Steelers_In_DC
Barite | Level 11

I'm not sure where in the query process these commands go, would this be after the :

 

PROC SQL;
CONNECT TO odbc();

 

(enter here)

and before the:

 

CREATE TABLE table AS

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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