These queries are used to in NiFi flows.
- upsert_events.sql: do an UPSERT on events
- upsert_goal_target.sql: do an UPSERT on goal_target
- upsert_plans.sql: do an UPSERT on plans
- upsert_structures.sql: do an UPSERT on structures
- upsert-task.sql: do an UPSERT on tasks
- deletion_helper_sps_and_views.sql: used to do id diffing to deal with deleted events, structures, or tasks
- server_version_helper_sps.sql