I have a hive table in hive that is empty. Now I want to do incremental imports for this table.
When I query the table
last_val = `hive -e "select max(id) from db.table"
I am getting a NULL
value.
How can I pass this value to the sqoop incremental query.Say If null then pass as Zero or something