I have a row with structure like

identifier: String
value: int

All identifier are unique and I want to generate a unique long id for the
data and get a row object back for further processing.

I understand using the zipWithUniqueId function on RDD, but that would mean
first converting to RDD and then joining back the RDD and dataset

What is the best way to do this ?

-Tony

Reply via email to