Skip to content
This repository was archived by the owner on Jun 24, 2019. It is now read-only.

Conversation

@treff7es
Copy link

@treff7es treff7es commented Apr 9, 2015

-Applying the ISO8601 support from pull request rcongiu#88 - - --Empty string is deseralized as null timestamp

Empty string is deseralized as null timestamp
@treff7es
Copy link
Author

treff7es commented Apr 9, 2015

@gszjulcsi Please, review it.

Choose a reason for hiding this comment

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

why is this necessary?

Copy link
Author

Choose a reason for hiding this comment

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

Wow, intellij seesm to reformatted and removed the extra space.

Choose a reason for hiding this comment

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

:)

On Thu, Apr 9, 2015 at 2:21 PM, treff7es [email protected] wrote:

In
json-serde/src/test/java/org/openx/data/jsonserde/JsonSerDeTimeStampTest.java
#2 (comment):

@@ -91,7 +91,7 @@ public void testTimestampDeSerializeNumericTimestamp() throws Exception {
StructObjectInspector soi = (StructObjectInspector) instance.getObjectInspector();
JavaStringTimestampObjectInspector jstOi = (JavaStringTimestampObjectInspector)
soi.getStructFieldRef("five").getFieldObjectInspector();

  • assertEquals(getDate("2013-05-05 17:58:45.0" ),
  • assertEquals(getDate("2013-05-05 17:58:45.0"),

Wow, intellij seesm to reformatted and removed the extra space.


Reply to this email directly or view it on GitHub
https://github.com/prezi/Hive-JSON-Serde/pull/2/files#r28056549.

@gszjulcsi
Copy link

ok, it looks good.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants