make_event

Type of operation: Metadata

Description

Creates an Event dataset from an input Table or Resource dataset. When the verb input is a Table dataset, make_event requires the name of the new Valid From column, and will filter results to be within the query window. When the verb input is a Resource dataset, make_event takes no arguments and demotes each resource to the series of update events which would create it.

Usage

make_event [ validFrom ]

Argument

Type

Required

Multiple

validFrom

fieldref

Optional

Only one

Accelerable

make_event is always accelerable if the input is accelerable. A dataset that only uses accelerable verbs can be accelerated, making queries on the dataset respond faster.

Examples

make_event

Creates an Event dataset from the input Resource dataset. For every state change of a resource in the input dataset, there is a row describing that new state in the output dataset, whose Valid From is the time when the state change occurred. The output dataset will keep most other metadata from the input, including the primary key.

make_event vf

Creates an Event dataset from the input Table dataset, using ‘vf’ as the new Valid From column. The output will be filtered to only include rows within the query window.

Aliases

  • changelog (deprecated)