Skip to content

Commit 00fbe76

Browse files
authored
docs(demo/signal-processing): Add note on index violation when re-running (#175)
docs: Add note on index violation when re-running signal-processing demo
1 parent 410aa8e commit 00fbe76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/modules/demos/pages/signal-processing.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ image::signal-processing/notebook.png[]
6565

6666
The notebook reads the measurement data in windowed batches using a loop, computes some predictions for each batch and persists the scores in a separate timescale table.
6767

68+
NOTE: Re-running the notebook *will* result in errors, due to collisions in indexed data created by these batch scores.
69+
Nifi is used to simulate the ingestion of streamed data by performing a one-off import and then re-calibrating the timestamps so that each batch created by the notebook will always "find" new data. Re-running the notebook will mean that batched (but *not* aggregated i.e. the timestamps are not altered) data will be written to the database a second time, resulting in a violation of a unique index constraint.
70+
6871
=== Adding libraries
6972

7073
There are two ways of doing this:

0 commit comments

Comments
 (0)