last-value means "the last value we already got from the database".
So you basically tell Sqoop - "I already have all the data until 06-25. Get me all the new data that happened since 06-25 until today". If you want specifically all the data from 06-25 to 07-25, you want to use --where and specify the entire condition. Gwen On Thu, Jul 24, 2014 at 7:31 PM, [email protected] <[email protected]> wrote: > > > Hi,all: > Forgive my poor English. > I hava a problem working with sqoop-1.44's parameter incremental . > When I use --incremental lastmodified --last-value '2014-06-25' (toady > is 2014-07-25) > I find sqoop will incremental import the data between 2014-06-25 and > 2014-07-25(today). > I read the source code and find sqoop will obtain current_date from db > server. > I want to know why sqoop did so.Because I originally want to incremental > import data between > 2014-06-25 and 2014-8-25.Because this field represent some date point in > the future. > Hope to heard from you. > Want to kown why design like so.If hava any other considirasion I do not > know.
