-
Notifications
You must be signed in to change notification settings - Fork 267
Clean up all but the transient warnings #708
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me but not super familiar with the SB code, so would be nice to get Pankaj's comments too.
implicit val timeValueSemigroup: Semigroup[(Timestamp, V)] = | ||
IteratorSums.optimizedPairSemigroup[Timestamp, V](1000) | ||
commutativity: Commutativity): TypedPipe[(LTuple2[K1, BatchID], (Timestamp, V1))] = { | ||
implicit val timeV1alueSemigroup: Semigroup[(Timestamp, V1)] = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
timeV1alueSemigroup, rename to timeV1Semigroup?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
timeValueSemigroup seems ok, the 1 got introduced by search replace I suspect.
Find and replace gone wrong.
…On Thu, Jan 12, 2017 at 15:52 Piyush Narang ***@***.***> wrote:
***@***.**** approved this pull request.
Looks good to me but not super familiar with the SB code, so would be nice
to get Pankaj's comments too.
------------------------------
In
summingbird-scalding/src/main/scala/com/twitter/summingbird/scalding/batch/BatchedStore.scala
<#708 (review)>
:
> capturedBatcher: Batcher,
- commutativity: Commutativity): TypedPipe[(LTuple2[K1, BatchID], (Timestamp, V))] = {
- implicit val timeValueSemigroup: Semigroup[(Timestamp, V)] =
- IteratorSums.optimizedPairSemigroup[Timestamp, V](1000)
+ commutativity: Commutativity): TypedPipe[(LTuple2[K1, BatchID], (Timestamp, V1))] = {
+ implicit val timeV1alueSemigroup: Semigroup[(Timestamp, V1)] =
timeV1alueSemigroup, rename to timeV1Semigroup?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#708 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEJdjnXJapJVXXExxYrCuXE6kL50qaNks5rRtjPgaJpZM4LiaDE>
.
|
Current coverage is 71.02% (diff: 83.01%)@@ develop #708 diff @@
==========================================
Files 141 141
Lines 3461 3469 +8
Methods 3263 3274 +11
Messages 0 0
Branches 198 195 -3
==========================================
+ Hits 2461 2464 +3
- Misses 1000 1005 +5
Partials 0 0
|
@pankajroark good to go with the new name? |
👍 |
the 2.10 build keeps timing out. Not really sure what is going on. I'm hoping the #699 will just fix this. I can't see how changing these warnings can possibly be related. |
@johnynek It's green now, I think it's better to merge this change before Storm's one. |
@ttim maybe some issue with travis? Maybe just flakey tests. |
I removed all but warnings like this:
it seems like this pattern that we have been cargo-culting may not be actually doing anything, but I didn't want to take the risk (yet, but we should fix it).
All the other seemed easy to fix without doing much change to the code.
I also disabled scalariform, which is annoying in that it changes the code under you. I think we should set up scalafmt as a CI check and a command in the build to get code formatting.