Thanks

On Wed 5 Sep, 2018, 2:15 AM Russell Spitzer, <[email protected]>
wrote:

> RDD: Top
>
> http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.rdd.RDD@top(num:Int)(implicitord:Ordering[T]):Array[T
> ]
> Which is pretty much what Sean suggested
>
> For Dataframes I think doing a order and limit would be equivalent after
> optimizations.
>
> On Tue, Sep 4, 2018 at 2:28 PM Sean Owen <[email protected]> wrote:
>
>> Sort and take head(n)?
>>
>> On Tue, Sep 4, 2018 at 12:07 PM Chetan Khatri <
>> [email protected]> wrote:
>>
>>> Dear Spark dev, anything equivalent in spark ?
>>>
>>

Reply via email to