experimental.set() function

    The experimental.set() function sets multiple static column values on all records. If a column already exists, the function updates the existing value. If a column does not exist, the function adds it with the specified value.

    *Function type: Transformation*

    *Data type: Record*

    Examples

    Set values for multiple columns

    Example input table
    Example query
    1. data
    2. _field: "temperature",
    3. unit: "°F",
    4. location: "San Francisco"
    Example output table
    _time_field_valueunitlocation
    2019-09-16T12:00:00Ztemperature71.2°FSan Francisco
    2019-09-17T12:00:00Ztemperature68.4°FSan Francisco
    2019-09-18T12:00:00Ztemperature70.8°FSan Francisco

    Related articles