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 2018/12/12 04:43:44 UTC

[GitHub] 10110346 opened a new pull request #23295: [MINOR][SQL]Change `ThreadLocal.withInitial` to Scala lambda syntax

10110346 opened a new pull request #23295: [MINOR][SQL]Change  `ThreadLocal.withInitial`  to Scala lambda syntax
URL: https://github.com/apache/spark/pull/23295
 
 
   ## What changes were proposed in this pull request?
   Currently, Scala  has updated to Scala 2.12.8 ,  so  we can change this to Scala lambda syntax
   
   
   ## How was this patch tested?
   Existing tests.
   And Manual testing:
   ```
   == Physical Plan ==
   *(3) HashAggregate(keys=[attribute#237L], functions=[sum(cnt#227L)])
   +- Exchange hashpartitioning(attribute#237L, 5)
      +- *(2) HashAggregate(keys=[attribute#237L], functions=[partial_sum(cnt#227L)])
         +- *(2) HashAggregate(keys=[nested#223.attribute#243L], functions=[count(1)])
            +- Exchange hashpartitioning(nested#223.attribute#243L, 5)
               +- *(1) HashAggregate(keys=[nested#223.attribute AS nested#223.attribute#243L], functions=[partial_count(1)])
                  +- *(1) Project [nested#223]
                     +- *(1) Scan ExistingRDD[nested#223,value#224L]
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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