Delete
Last updated
Last updated
The Delete task in Gaio DataOS allows you to remove records from a table based on custom filter conditions. It is useful for cleaning outdated, inconsistent, or temporary data as part of automated ETL flows.
Important: 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 deletion.
In your flow, add a Table with the dataset you want to work with.
Select the table as input for the Delete task.
In the left-side menu, go to: Tasks > ETL > Delete
Task label: (optional) A descriptive name for the step.
Table: Will be automatically filled based on the selected table (e.g., new_sales
).
In the Filters section, define one or more conditions to specify which rows should be deleted.
For each filter, configure:
Column
Choose the column to filter by (e.g., order_id
)
Type
Input type: Value
, Parameter
, etc.
Operator
Comparison operator (Equal to
, Not equal to
, Greater than
, etc.)
Value
The value to compare against
Example:
Delete rows from the new_sales
table where order_id
is equal to 1001
.
Run: Immediately performs the deletion (without saving the task).
Save: Saves the task to the current flow.
Save and Run: Saves and immediately executes the deletion.
Remove invalid or duplicate records
Delete temporary test data
Automate cleanup logic based on business rules
Ensure data consistency before or after processing