[MINOR][SQL]Change ThreadLocal.withInitial to Scala lambda syntax#23295
[MINOR][SQL]Change ThreadLocal.withInitial to Scala lambda syntax#2329510110346 wants to merge 1 commit intoapache:masterfrom
ThreadLocal.withInitial to Scala lambda syntax#23295Conversation
|
Test build #100003 has finished for PR 23295 at commit
|
|
Test build #100014 has finished for PR 23295 at commit
|
|
retest this please |
|
Test build #100059 has finished for PR 23295 at commit
|
|
retest this please |
|
Test build #100081 has finished for PR 23295 at commit
|
|
We still build against 2.11 too. Unless you have built with 2.11 and this works, we can't merge this. |
|
The |
|
This isn't Java code though. It may well work, but it needs to be tested against 2.11. The pull request builder doesn't test this. Have you? I remember some odd issues with Scala's willingness to match closures to single-arg function args, and given this comment, I think we need to be sure first. |
|
I see ,I have a mistake, this is scala code, it can not work for scala 2.11 |
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 tested: