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 21:16:53 UTC

[GitHub] [spark] HeartSaVioR commented on issue #26809: [SPARK-30185][SQL] Implement Dataset.tail API

HeartSaVioR commented on issue #26809: [SPARK-30185][SQL] Implement Dataset.tail API
URL: https://github.com/apache/spark/pull/26809#issuecomment-563443043
 
 
   I felt the same with @srowen; once the shuffle is involved, without ordering there should be no outstanding difference with head() as we don't guarantee ordering anyway, and with ordering the semantic would be same as sort with reverse order + head().
   
   It would be great if we can clarify the benefits compared to the same semantic, otherwise it might be just going to be a syntax sugar, though I'd be even OK for it given there're so many requests in the description of PR.

----------------------------------------------------------------
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