spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Khatri <chetan.opensou...@gmail.com>
Subject Re: Select top (100) percent equivalent in spark
Date Wed, 05 Sep 2018 07:15:22 GMT
Sean, Thank you.
Do you think, tempDF.orderBy($"invoice_id".desc).limit(100)
this can give same result , I think so.

Thanks

On Wed, Sep 5, 2018 at 12:58 AM Sean Owen <srowen@gmail.com> wrote:

> Sort and take head(n)?
>
> On Tue, Sep 4, 2018 at 12:07 PM Chetan Khatri <chetan.opensource@gmail.com>
> wrote:
>
>> Dear Spark dev, anything equivalent in spark ?
>>
>

Mime
View raw message