VariationNumber in Data Lake for records replicated from Mongoose
Hi,
Does anyone know how Mongoose calculates VariationNumber when replicating to Data Lake?
For example: 63,798,997,474,753
How can I generate such VariationNumber in ION?
Thanks,
K
Answers
-
I have used Python script to generate it for custom datalake integration. i used unix time stamp.
0 -
@Kirill Kuchumov , Try to use the library uuid
Python script
import uuid
uuid4 = uuid.uuid4()
print(f"UUID4: {uuid4}")uuid1 = uuid.uuid1()
print(f"UUID1: {uuid1}")0 -
Hi,
Thanks @Prabodha Amarapema and @Fabiano Silva !
I think Mongoose VariationNumber for DL replication is not a function of time but some internal counter.
Regardless on time difference between an update of IDO record VariationNumbers just increments by 1.
My goal was to send a JSON from ION to DL so variation number is in the same number series as when a record comes from Mongoose to DL. I don't think it's possible.
Regards,
K
0