spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Cheah <mch...@palantir.com>
Subject Take last k elements from RDD?
Date Thu, 24 Oct 2013 22:23:55 GMT
Hi everyone,

I see there is a take() function for RDDs, getting the first n elements. Is there a way to
get the last n elements?

Thanks,

-Matt Cheah

Mime
View raw message