Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

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

Highlighted

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

New Contributor

/* ----- 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"))*/