Below is the sqoop job i have created
sqoop job --create sqoop_incremental_job -- import --connect jdbc:mysql://quickstart.cloudera:3306/retail_db --username retail_dba --password cloudera --table categories --target-dir /user/cloudera/sqoop_incremental_job_categories --incremental append --check-column category_id --last-value 10 -m 1
For example: The last value was given as 10
Now i ran sqoop job for 2 times by adding the new records in mysql each time, So that the incremental would perform append to the existing data in HDFS.
The question is how the last-value is getting updated each time when i run job using sqoop job --exec sqoop_incremental_job and how can i see the updated value each time when i run the job???