Hi All,

 

I want to ask how to use UDF when I use join function on DataFrame. It looks
like always give me the "cannot solve the column name" error. 

Anyone can give me an example on how to run this in java?

 

My code is like:

 

edmData.join(yb_lookup,
edmData.col("year(YEARBUILT)").equalTo(yb_lookup.col("yb_class_vdm")));

 

But it won't work in java. I understand col function should only take
columname, but there should be a way to specific some simple expression in
join statement?

 

Regards,

 

Shuai

Reply via email to