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/03/20 01:39:20 UTC

[GitHub] [spark] AngersZhuuuu commented on issue #24124: [SPARK-27186][SQL] mapPartition to replace map to speedUp Dataset's toLocalIterator process

AngersZhuuuu commented on issue #24124: [SPARK-27186][SQL] mapPartition to replace map to speedUp Dataset's toLocalIterator process
URL: https://github.com/apache/spark/pull/24124#issuecomment-474649973
 
 
   > Please fix the title.
   > But, why does this improve speed? you're just doing the decoding on the executor vs driver side, without more parallelism. I'm not sure we can/should move the UnsafeRow from executor to driver; may be OK but I'd be wary of changing the semantics here.
   
   In old code, it will get the second value for each kv pair parallelism and the transform to localIterator then decode record in driver one by one, what I want to do is to let it decode in dirver paralleism and just cycle one time
   

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