Conversation
|
@fjy Each are implemented in (much) different manner. Might be hard to consolidate. |
|
@navis it'll be challenging to review both if they overlap in functionality :), do you guys want to have an internal discussion about which one people should review? |
|
@fjy We should do ;). Could you wait for sometime before starting the reviewing? |
|
@navis I'm guessing this is the PR to review right? |
1632532 to
0857c80
Compare
|
merged #2210 |
There was a problem hiding this comment.
I would prefer if we did not introduce a second javascript filter and instead merge this into the existing one.
We should maintain backwards compatibility for the old syntax, but use the new one by default.
There was a problem hiding this comment.
Yes, but each filter has different semantic and hard to merge into single one.
There was a problem hiding this comment.
I think it is better to have a flag on javascript filter that utimately leads to two code paths, one that uses indexes, and one that doesnt rather htan having two separate implementations. Two impls will confuse users.
There was a problem hiding this comment.
@fjy You are right. How couldn't I thought of that?
a576780 to
04b55e7
Compare
There was a problem hiding this comment.
if this goes into 0.9.0 (which I think it should), we can make the backwards incompatible API change
There was a problem hiding this comment.
we need to maintain backwards compatibility to allow for rolling upgrades.
There was a problem hiding this comment.
@xvrl is correct. I didn't think about rolling upgrades. But we can remove "dimension" from the docs and let new people use "dimensions" everywhere
There was a problem hiding this comment.
@navis let's remove "dimension" from the docs but keep it in the code
There was a problem hiding this comment.
+1 for removing dimension from docs. also, let us explicitly call it deprecated in 0.9.0 release notes so that we can remove it in later release from the code.
04b55e7 to
806e4c0
Compare
|
Test failed by regression of #2006 |
There was a problem hiding this comment.
minor nit, but can we move static functions to the top of the class? similar to other druid files
There was a problem hiding this comment.
I remember someone has told me static class should be at the bottom of the class in other PR. Then methods to top and classes to bottom. Right?
|
@navis we can move this to 0.9.1 as I think it might take a little bit more work to finish this one up. |
There was a problem hiding this comment.
What is the difference between this method and makeValueMatcher?
|
A part of me wonders if this wouldn't be simpler if we were to add the method to the |
743a015 to
cd237a8
Compare
cd237a8 to
336fc39
Compare
There was a problem hiding this comment.
this is assuming that user has to call hasNext() before calling next() which i think is not part of the Iterator API, or i am missing something ?
|
@navis ? |
63e5273 to
fbb8337
Compare
|
@fjy Forgot for a long time. I'm on it. |
fbb8337 to
c8fc4b1
Compare
|
Rebased on master. Because there has been so many changes in here about, I've make code barely compile. let's see the test results. |
c8fc4b1 to
452b07e
Compare
452b07e to
4d40232
Compare
|
cannot sustain this, sorry. |
Work for #2187
I didn't know that there is already a PR(#2210) on that till this tomorrow. But things done and I'm making PR to be used as reference purpose.