BookmarkSubscribeRSS Feed
dkassis
Calcite | Level 5

Hi,

 

I am trying to create tables in HIVE from hive data using the proc sql; create table option.  These queries are taking a long time and I am seeing this statement in my log:

 

Streaming read DISABLED: The original HiveQL succeeded where
the streaming read CTAS failed

 

Is this causing any of the delays?  I am seeing that my sql was passed to Hadoop from seeing the following:

 

ACCESS ENGINE: SQL statement was passed to the DBMS for
fetching data.

 

We are configured using JDBC and pre-defined libname connections.

 

Thanks,

Dan

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

You should use the sastrace option to know exactly what SQL was passed to hive.

 

Even better, since you are copying from Hive to Hive, run HQL directly by using SQL passthrough:

proc sql;

   connect using HIVELIB; 

   execute by HIVELIB (create table ....); 

quit;

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 1 reply
  • 1201 views
  • 0 likes
  • 2 in conversation