Answer Posted / Mukesh Kumar Kushwaha
The first() operation in Apache Spark RDD returns the first n elements from an RDD, where n is a user-defined number. This operation can be useful for inspecting the initial data without having to compute on the entire dataset.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers