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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 1693 views
  • 0 likes
  • 2 in conversation