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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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