Reply
New Contributor
Posts: 5
Registered: ‎05-16-2016

This Join is throwing error, what can be the possible correction?

/* ----- val joinedDF = df_PrdMain_UPC.join(df_PrdDescription_UPC, df_PrdMain_UPC("PKey") === df_PrdDescription_UPC("PrdMainPKey")) .join(df_PrdGroupRel_UPCtoMJBP, df_PrdMain_UPC("PKey") === df_PrdGroupRel_UPCtoMJBP("PrdMainPKey")) .join(df_PrdMain_MJBP, df_PrdMain_MJBP("PKey") === df_PrdGroupRel_UPCtoMJBP("GroupPrdMainPKey")) .join(df_PrdDescription_MJBP, df_PrdMain_MJBP("PKey") === df_PrdDescription_MJBP("PrdMainPKey")) .join(df_PrdGroupRel_MJBPtoSPG, df_PrdMain_MJBP("PKey") === df_PrdGroupRel_MJBPtoSPG("PrdMainPKey")) .join(df_PrdMain_SPG, df_PrdMain_SPG("PKey") === df_PrdGroupRel_MJBPtoSPG("GroupPrdMainPKey")) .join(df_PrdDescription_SPG, df_PrdMain_SPG("PKey") === df_PrdDescription_SPG("PrdMainPKey")) .join(df_PrdGroupRel_SPGtoFG, df_PrdMain_SPG("PKey") === df_PrdGroupRel_SPGtoFG("PrdMainPKey")) .join(df_PrdMain_FG, df_PrdMain_FG("PKey") === df_PrdGroupRel_SPGtoFG("GroupPrdMainPKey")) .join(df_PrdDescription_FG, df_PrdMain_FG("PKey") === df_PrdDescription_FG("PrdMainPKey"))*/