-
Momentum
-
MLOps
-
Impulse EDW
-
- 2.1 Create a Warehouse
- 2.2 Edit Warehouse
- 2.3 Datasources In Warehouse
- 2.4 Ingesting Data Into Tables or Datasources
- 2.4.1 Ingesting From Momentum Data Pipeline
- 2.4.2 Uploading File Using Impulse UI
- 2.4.3 Ingesting From External File/Storage System
- 2.5 Add Data to Existing Tables
- 2.5.1 Update Existing Index
- 2.6 Delete Table Records (Rows)
- 2.7 Delete Tables or Datasources
- 2.8 Monitoring Indexing Tasks
- 2.9 View Datasource Stats
-
Inset BI
- Alerts and Reports
- Connecting to a new database
- Registering a new table
- Creating charts in Explore view
- Manage access to Dashboards
-
- Articles coming soon
-
- Articles coming soon
-
- Articles coming soon
-
- Articles coming soon
-
- Articles coming soon
-
APIs
- Articles coming soon
2.6 Delete Table Records (Rows)
Impulse data structure is optimized for efficient query execution. The index structure within Impulse makes it hard to delete a specific record or a group of records. Impulse provides a mechanism to delete table records using “Delete” statement as described below.
It is important to note that the delete operation is very expensive — it reindexes the entire datasource/table and, therefore, it is likely to take time and resources.
NOTE: Do not ingest any data to the same table from where the records are being deleted, until the delete operation is completed. Ingesting data while delete operation is still on will cause the data loss (of the new data being ingested).
To delete a row or set of rows matching a criteria, write the following query in the SQL statement field and click run (as shown in Figure 2.6a below).
DELETE FROM "DW_ALIAS.TABLENAME" WHERE RecordDate BETWEEN '2000-01-01' AND '2021-12-31'
The where clause supports the following operators:
AND
OR
BETWEEN
The following conditional operators are supported:
Operator | Condition |
== | equal to |
!= | not equal to |
> | greater than |
>= | greater than or equal to |
< | less than |
<= | less than or equal to |