Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2023 09:04 PM
if I have two dataframes df_target and df_source, can I do df_target.as("t).merge(df_source.as("s"), "s.id=t.id").whenMatched().updateAll().whenNotMatched.insertAll.execute().
when I tried the code above, I got the error "merge is not a member of the dataframe". If that is the case, what is the best way to do it? Thanks!
Labels:
- Labels:
-
Dataframe