-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding lower and upper extraction fn #2076
adding lower and upper extraction fn #2076
Conversation
@@ -0,0 +1,57 @@ | |||
package io.druid.query.extraction; |
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.
license header
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.
done
@b-slim upper and lowercase are locale sensitive, can we add an optional locale parameters? You can look at https://github.com/druid-io/druid/blob/master/processing/src/main/java/io/druid/query/extraction/TimeFormatExtractionFn.java#L45 for an example where we allow for locale. |
@b-slim let's finish this one up |
828e378
to
9c879e2
Compare
@gianm does this fix your issue ? |
@@ -35,4 +35,6 @@ | |||
public static final byte CACHE_TYPE_ID_SUBSTRING = 0x8; | |||
public static final byte CACHE_TYPE_ID_CASCADE = 0x9; | |||
public static final byte CACHE_TYPE_ID_STRING_FORMAT = 0xA; | |||
public static final byte UPPER_EXTRACTION_FN_CACHE_ID = 0xB; |
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.
let's make the naming consistent
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.
+1
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.
done
👍 I have a minor comment |
👍 after #2076 (comment) is resolved |
9c879e2
to
78feb3a
Compare
@fjy and @himanshug thanks ! will merge it once Travis is happy ! |
adding lower and upper extraction fn
fix for issue #2010