By default, in the fill script, the gem uses the table's primary_key on which it iterates in order to constitute batches of data to be copied from the source_table to the intermediate_table
(cf this piece of code)
This PR proposes a new optional param unique_key that can replace the table's primary key with a custom iterative column in order to fulfil this task.
Context
By default, in the
fill
script, the gem uses the table'sprimary_key
on which it iterates in order to constitute batches of data to be copied from thesource_table
to theintermediate_table
(cf this piece of code)This PR proposes a new optional param
unique_key
that can replace the table's primary key with a custom iterative column in order to fulfil this task.