Jarek Jarcec Cecho created SQOOP-1112:
-----------------------------------------

             Summary: 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
             Fix For: 1.99.3


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

Reply via email to