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