2021-02-27

How to search value in Dataset

My Dataset< Row > (java spark) input is :

Heros Powers Rank
Superman Invisible 1
Batman Strength 2
SpiderMan Strong 3

By knowing the name of my heros, i would like to retrieve the rank. For exemple for Superman, i would like to have the return 1, not all the line but just the value. I don't know how to do by using a spark dataset. Thank for your help !



from Recent Questions - Stack Overflow https://ift.tt/3dRPSqv
https://ift.tt/eA8V8J

No comments:

Post a Comment