Skip to main content
< All Topics
Print

2.5.1 Update Existing Index

Impulse does not support row level updates. You can overwrite partitions within a specific data range and add new data to existing index. Here is an example of how this works:

Assume you have an existing index in Impulse with the following rows:

DateEmployeeSalary
2019-01-01John6000
2019-01-02Sara6100
2019-01-03Smith6200
2019-01-04Bob6300

If we have the following dataset that we want to append to existing index and update the existing partitions within the period 2019-01-01 and 2019-01-03:

DateEmployeeSalary
2019-01-01Jessica7000
2019-01-02Sara7100
2019-01-03Simpson7200
2019-01-04Robert7300
2019-01-05Dave7400

The resultant data after the combine and overwrite of partitions within the period 2019-01-01 and 2019-01-03 will be:

DateEmployeeSalary
2019-01-01John7000
2019-01-01Jessica7000
2019-01-02Sara7100
2019-01-03Simpson7200
2019-01-04Bob6300
2019-01-04Robert7300
2019-01-05Dave7400

Notice that the partitions within the date range 2019-01-01 and 2019-01-03 are replaced by the the new dataset and outside this date range the data are appended to existing index.

Here are the steps to combine and overwrite the existing partitions.

  1. Follow the steps of ingesting files to a datasource in a warehouse
  2. In the step 2, select the Upload Mode as “Combine & Overwrite: Combine old data with new data and overwrite” option from the dropdown list (see Figure 2.5.1a below)
  3. In the partition overwrite period from and to fields, fill out the data range that you want your new data to update to.
  4. Follow the remaining steps of ingesting data into Impulse.
Figure 2.5.1a: Screen showing upload mode as “Combine & Overwrite: Combine old data with new data and overwrite

Table of Contents