[
https://issues.apache.org/jira/browse/SQOOP-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235105#comment-14235105
]
Veena Basavaraj commented on SQOOP-1845:
----------------------------------------
the test case simulates a case that may not have a timezone.
And also unrelated, it seems a bit absurd that we will out put the value with T
( which is specific to JODA), this is something I have been wanting to ask as
well since you added this conversion to address another issue, but the code did
not have all the permutations of unit tests then.
> Unit test failed due to different timezone
> ------------------------------------------
>
> Key: SQOOP-1845
> URL: https://issues.apache.org/jira/browse/SQOOP-1845
> Project: Sqoop
> Issue Type: Bug
> Reporter: Richard
>
> test testDateTimeISO8601Alternative in TestCSVIntermediateDataFormat
> {code}
> assertEquals("2014-10-01T12:00:00.000-07:00",
> dataFormat.getObjectData()[0].toString());
> {code}
> failed with such error message:
> {code}
> org.junit.ComparisonFailure:
> Expected :2014-10-01T12:00:00.000-07:00
> Actual :2014-10-01T12:00:00.000+08:00
> {code}
> seems issue of a different timezone, you are @ -7, and I am @ +8.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)