Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
How can implement incremental load without date and primary key fields?
Thanks,
Regards,
Nihhal.
For insert only Incremental Load, you need to have at least one of below
Using above you can identify new records while extracting from the databased.
I also read a blog post from Barry Harmsen about creating a Hash Key from combinng the non-key fields, but never tried it. While extracting the new records, you need to check each key value and load only those values where the Hash Key if different. I suspect about performance issue on this. I would like to try it once at least. You can have a look!
http://www.qlikfix.com/2014/03/11/hash-functions-collisions/
You can use AutoNumberHash128(),AutoNumberHash256().
Hope this helps !
You can also check for primary key in your table to get increment data
create primary key and do increment laod on primary key
You don't specify what type of incremental load you need.
The simplest is add-only incremental load. This requires some way of identifying new records - it does not have to be a date-added or date-modified field. If you have a increasing key value, you can identify new records using the key as well.This may be a primary key in the database table, but any continually increasing field value will work.
If you cannot identify newly added records, then add-only incremental load is not possible.
Hi Jonathan,
Thanks for response.
My question is simple it is possible incremental load without date field and primary key?.
Regards,
Nihhal.
For insert only Incremental Load, you need to have at least one of below
Using above you can identify new records while extracting from the databased.
I also read a blog post from Barry Harmsen about creating a Hash Key from combinng the non-key fields, but never tried it. While extracting the new records, you need to check each key value and load only those values where the Hash Key if different. I suspect about performance issue on this. I would like to try it once at least. You can have a look!
http://www.qlikfix.com/2014/03/11/hash-functions-collisions/
You can use AutoNumberHash128(),AutoNumberHash256().
Hope this helps !
Hi Nihhal,
It is not possible to implement incremental loading without key (May not be primary key) and Date field. There should be some logic to find the records unique. The records may be unique by using multiple fields. If you attach some sample data then it would be easier to analyse and provide the solution.
Regards,
jagan.
Hi nihhalmca
Can you attach some sample data for provide the sample data?
Hi Check this thread.
Hie...
PFA
Hope this will helps u..
Regards,
Mohammad