BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Sotan
Calcite | Level 5

I am able to run proc FEDSQL on a hadoop environment using SAS interface to Impala. Following a SAS example on page 42 of “SAS® 9.4 FedSQL Language Reference, Fifth Edition”, I joined a SAS table and a hadoop table. The query is very slow. Has anyone had experience with joining a SAS table and a database table using proc FEDSQL? 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Sotan
Calcite | Level 5

Thank you Linus for the answer. I have used dbkey option or inserted SAS data to the database table with proc SQL.

Loading SAS data to a database table works very well but I need IT to create the DB table for me. I thought that the new proc FEDSQL gave me more flexibility in joining SAS table with database tables.

View solution in original post

2 REPLIES 2
LinusH
Tourmaline | Level 20
I don't know if there's a difference in behaviour between FedSQL and SQL but typically the join will take place in the SAS session.
This can be avoided/optimized by either uploading your SAS table to Hadoop, or try the DBKEY option.
Data never sleeps
Sotan
Calcite | Level 5

Thank you Linus for the answer. I have used dbkey option or inserted SAS data to the database table with proc SQL.

Loading SAS data to a database table works very well but I need IT to create the DB table for me. I thought that the new proc FEDSQL gave me more flexibility in joining SAS table with database tables.

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 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 2 replies
  • 1148 views
  • 0 likes
  • 2 in conversation