When we refer a RDD field in sortBy we refer that ...

Discussion in 'Big Data and Analytics' started by Ramit Das, Jul 11, 2018.

  1. Ramit Das

    Ramit Das Member

    Joined:
    May 14, 2018
    Messages:
    2
    Likes Received:
    0
    When we refer a RDD field in sortBy we refer that by " ._ " but when we refer in map we refer as x => x(1) . Why is this difference why cant we refer as sortBy(x=> x(0)) ?
     
    #1

Share This Page