Links
Comment on page

Event Timestamps (EventGenerator)

The Event Timestamps generator generates timestamps that fit an event distribution. The source timestamp must include a date. It cannot be a time-only value.
You can link columns to create a sequence of events across multiple columns. This generator can be partitioned by other columns.
The Event Timestamps generator does not support consistency. You cannot configure differential privacy.
The metadata object is populated from the EventMetadata object. You use eventOrder to specify the sequence of the generated datetime values in the linked columns.
The Event Timestamps generator does support partitioning, which is configured in the partitions object outside of the links object.
{
"generatorId": "EventGenerator",
"schema": "string",
"table": "string",
"column": "string",
"metadata": {
"eventOrder": integer
},
"encryptionProcessor": "x-on", //To use configured Tonic data encryption
"customValueProcessor": "string" //If custom value processor applied
}

Example replacement

In this replacement example for the Event Timestamps generator, the date_event1 and date_event2 columns are linked. date_event1 occurs first, and date_event2 occurs second. The values are not partitioned.
{
"name": "date_event1,date_event2",
"schema": "public",
"table": "events",
"links": [
{
"generatorId": "EventGenerator",
"schema": "public",
"table": "events",
"column": "date_event1",
"metadata": {
"eventOrder": 1
}
},
{
"generatorId": "EventGenerator",
"schema": "public",
"table": "events",
"column": "date_event2",
"metadata": {
"eventOrder": 2
}
}
],
"partitions": []
}
Last modified 3mo ago