Update
Last updated
Last updated
The Update task in Gaio DataOS allows you to modify existing records in a table based on custom filter conditions. This is ideal for correcting data, applying transformation rules, or dynamically synchronizing values during ETL flows.
ImImportant: This task can only be used when a table is selected in the flow. Be sure to add and connect a Table before configuring the update.
Add a Table to your flow and choose the dataset you want to work with.
The Update task will only become available once a table is selected.
In the left-hand menu, go to: Tasks > ETL > Update
Task label: (optional) Add a name for the task to identify it in your flow.
Table: The table should be automatically linked from your selected block (e.g., new_sales
).
In the Columns section, choose the fields you want to update.
For each selected column, define:
Type: Defines how the new value will be set:
Value
: Static input
Parameter
: Uses a predefined variable
Computed
: Accepts formulas (e.g., now()
, 1 + 1
) |
Value: Enter the new value or expression
In the Filters section, specify which records should be updated.
For each filter:
Column
Select the column to filter by
Type
Input type (e.g., Value
, Parameter
)
Operator
Comparison logic (e.g., Equal to
, Greater than
)
Value
The value to match
Example:
Update the order_date
only where order_id = 1001
.
Important: If there are no filters, all rows in the table will be updated.
Run: Immediately executes the update (one-time).
Save: Saves the configuration to your data flow.
Save and Run: Saves and executes the update at once.
Correct outdated or incorrect values
Apply standardization rules (e.g., replace empty values)
Use dynamic inputs via parameters
Update timestamps or statuses during automated flows