one is sql and the other one is its equivalent in functional programming
val s =
HiveContext.table("sales").select("AMOUNT_SOLD","TIME_ID","CHANNEL_ID")
val c = HiveContext.table("channels").select("CHANNEL_ID","CHANNEL_DESC")
val t = HiveContext.table("times").select("TIME_ID","CALENDAR_MONTH_DES
Hi,
The same they are.
If you check the equality, you can use DataFrame#explain.
// maropu
On Tue, May 31, 2016 at 12:26 PM, pseudo oduesp
wrote:
> hi guys ,
> it s similare thing to do :
>
> sqlcontext.join("select * from t1 join t2 on condition) and
>
> df1.join(df2,condition,'inner")?
hi guys ,
it s similare thing to do :
sqlcontext.join("select * from t1 join t2 on condition) and
df1.join(df2,condition,'inner")??
ps:df1.registertable('t1')
ps:df2.registertable('t2')
thanks