You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/12/09 17:17:04 UTC
[GitHub] [spark] srowen commented on issue #26809: [SPARK-30185][SQL]
Implement Dataset.tail API
srowen commented on issue #26809: [SPARK-30185][SQL] Implement Dataset.tail API
URL: https://github.com/apache/spark/pull/26809#issuecomment-563340384
I can see the use case for skipping a header, but, this doesn't help if you still want an RDD/DataFrame with the result, because you collect an Array. It also only really works if there is an ordering defined.
How much is this different from sorting in reverse and head()? in comparison this looks like it has to traverse the whole data set?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org