Skip to content
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

Merged
merged 1 commit into from
Jan 21, 2016

Conversation

b-slim
Copy link
Contributor

@b-slim b-slim commented Dec 9, 2015

fix for issue #2010

@b-slim b-slim closed this Dec 10, 2015
@b-slim b-slim reopened this Dec 10, 2015
@@ -0,0 +1,57 @@
package io.druid.query.extraction;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license header

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@xvrl
Copy link
Member

xvrl commented Dec 11, 2015

@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.

@fjy
Copy link
Contributor

fjy commented Jan 7, 2016

@b-slim let's finish this one up

@b-slim b-slim force-pushed the issue_2010_upper_lower_extractionFN branch 4 times, most recently from 828e378 to 9c879e2 Compare January 20, 2016 21:20
@b-slim
Copy link
Contributor Author

b-slim commented Jan 20, 2016

@xvrl and @fjy this should be good to go

@b-slim
Copy link
Contributor Author

b-slim commented Jan 20, 2016

@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;
Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@fjy fjy added this to the 0.9.0 milestone Jan 21, 2016
@fjy
Copy link
Contributor

fjy commented Jan 21, 2016

👍 I have a minor comment

@himanshug
Copy link
Contributor

👍 after #2076 (comment) is resolved

@b-slim b-slim force-pushed the issue_2010_upper_lower_extractionFN branch from 9c879e2 to 78feb3a Compare January 21, 2016 14:59
@b-slim
Copy link
Contributor Author

b-slim commented Jan 21, 2016

@fjy and @himanshug thanks ! will merge it once Travis is happy !

b-slim added a commit that referenced this pull request Jan 21, 2016
@b-slim b-slim merged commit 2015392 into apache:master Jan 21, 2016
@fjy fjy modified the milestone: 0.9.0 Feb 4, 2016
@fjy fjy mentioned this pull request Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants