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

Added DateIso8601 Support for Timestamp DataType #88

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

appanasatya
Copy link
Contributor

Added mainly isodate8601 format support acceptance and few corrections around javaStringByteObjectInspector and javaStringDoubleObjectInspector.

@rcongiu
Copy link
Owner

rcongiu commented Sep 11, 2014

Does it compile in both cdh4 and cdh5 ( mvn compile -Pcdh4) ? Some timestamp features were added in newer versions of hive.

@appanasatya
Copy link
Contributor Author

Yeah I tested it with (Hive 12 and CDH5) and (Hive 10 and CDH 4.5) and it
works fine. I have done these tests post merging your latest code changes.

Regards,
Harish.

On Fri, Sep 12, 2014 at 2:42 AM, Roberto Congiu [email protected]
wrote:

Does it compile in both cdh4 and cdh5 ( mvn compile -Pcdh4) ? Some
timestamp features were added in newer versions of hive.


Reply to this email directly or view it on GitHub
#88 (comment)
.

Regards,
Satya Harish Appana,
Software Development Engineer I,
Flipkart,Bangalore.

@treff7es
Copy link

treff7es commented Mar 2, 2015

Hey, will you merge this pull request or do you need any help to merge it?

treff7es pushed a commit to prezi/Hive-JSON-Serde that referenced this pull request Apr 9, 2015
Empty string is deseralized as null timestamp
} else if (s.indexOf('.') >= 0) {
}
else if(s.matches(datePattern)){
value = new Timestamp(javax.xml.bind.DatatypeConverter.parseDate(s).getTimeInMillis());
Copy link
Owner

Choose a reason for hiding this comment

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

That's a funky dependency for parsing dates. I just merged another pull request for parsing timestamps, that can parse using SimpleDateFormat, check it out

@rcongiu
Copy link
Owner

rcongiu commented Aug 20, 2017 via email

@sid88in
Copy link

sid88in commented Aug 20, 2017

Thanks a lot @rcongiu for quick turnaround! I'll check it out.

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.

4 participants