[
https://issues.apache.org/jira/browse/SQOOP-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Venkat Ranganathan updated SQOOP-1112:
--------------------------------------
Attachment: SQOOP-1112.patch
> Sqoop2: Date splitter might return splits omitting some boundaries
> ------------------------------------------------------------------
>
> Key: SQOOP-1112
> URL: https://issues.apache.org/jira/browse/SQOOP-1112
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.99.2
> Reporter: Jarek Jarcec Cecho
> Assignee: Venkat Ranganathan
> Fix For: 1.99.3
>
> Attachments: incorrect_boudnary_test.path, SQOOP-1112.patch
>
>
> Attached test case that is using {{Date}} splitter for interval from
> {{2004-10-20}} to {{2013-10-17}} will create following splits on my machine
> (with PDT timezone):
> {code}
> '2004-10-19' <= DCOL AND DCOL < '2007-10-19'
> '2007-10-19' <= DCOL AND DCOL < '2010-10-18'
> '2010-10-18' <= DCOL AND DCOL <= '2013-10-16'
> {code}
> The last split is missing entire day {{2013-10-17}}. I'm assuming that the
> issue is in the timezone conversions that we've introduced in SQOOP-1080.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira