Answer Posted / Rakesh Yadav
The lookup() operation in Apache Spark is used to find values in a key-value pair RDD (or DataFrame) based on the key. It returns a new RDD or DataFrame containing only the matching values. If multiple values have the same key, you can choose to return all of them or just one using different versions of the lookup() function.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers