You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Xiaoli Li <li...@gmail.com> on 2014/01/07 18:25:32 UTC

How to map index from another dataset

Hi,

I have two files. Each line in the first file includes userName and other
relevant information. Each line in the second file includes userName and
userID. I was wondering what is the best way to find userID from the second
file and replace the corresponding userName in the first file.


Thanks in advance.


Best,

Xiaoli