Conversation
There was a problem hiding this comment.
this is probably going to have very weird results for the age use case e.g. this will say that age "100" is smaller than age "20" . I believe, you would need to at least support a flag saying whether the comparison should be done by converting string to numbers.
|
@himanshug / @b-slim how would you feel if the numeric condition just used the comparator from io.druid.query.topn.AlphaNumericTopNMetricSpec ? |
|
and possibly make it "alphaNumeric" instead of just numeric? |
|
@drcrallen @b-slim SGTM |
|
@drcrallen thanks, please check it out |
There was a problem hiding this comment.
Is it possible to test each of the return cases for isAlphaNumeric both true and false?
|
Is it possible to test the apply for the 8 cases? |
|
@b-slim would it make sense to add less than and greater than filters as well while we're at it? |
|
@xvrl i see how this can be useful, but i think we can have |
|
@xvrl did you mean adding more filters or updating the api for same filter? |
1ea49e3 to
82ad49f
Compare
|
@himanshug and @xvrl please checkout this. |
There was a problem hiding this comment.
"...by comparing dimension..."
a6b4d14 to
db6366c
Compare
|
@himanshug can u please check this |
|
@b-slim Merge conflicts |
There was a problem hiding this comment.
I think another PR introduced a separate variable for 0xFF in this context, can you use that?
|
👍 after #1936 (comment) is resolved, pls squash your commits. |
db6366c to
3253a10
Compare
3253a10 to
77afdf2
Compare
|
@himanshug done |
|
👍 for me |
|
@fjy this is ready to go can you merge it please |
|
I read this over again, and I think it is cool. 👍 |
…ot be regarded as parsing fail
This Pr is Fix to #1879