Skip to main content

Projects ingestion reference

Projects ingestion reference​

Use this document when you ingest the PROJECTS data into ComboCurve.

1. Purpose​

PROJECTS lists the projects that ComboCurve creates for your wells, forecasts, and type curves. ComboCurve loads projects first in every run, because project wells, forecasts, and type curves all load into an existing project.

A project load sets the project name only. ComboCurve does not carry other project details over.

2. Source object​

ComboCurve reads this data through the INBOUND_PROJECTS_SV view in your tenant schema (tenant_<tenant>) in the ComboCurve Databricks workspace. ComboCurve builds that view over the Delta Share you provide, and it must expose the columns described in this document.

Each row represents the desired current state of one project.

3. Record identity​

Treat the following fields as the business key:

  • PROJECT_NAME

Uniqueness rule:

  • Only one record can exist for each (PROJECT_NAME) combination.

4. Required fields​

4.1 Identity​

  • PROJECT_NAME

4.2 Audit​

  • __RECORD_SOURCE
  • __CREATED_AT
  • __UPDATED_AT
  • __SOFT_DELETE

ComboCurve also requires a non-empty ID on each row. CREATED_AT is ignored on load.

5. Audit field behavior​

5.1 __RECORD_SOURCE​

Use this field for lineage and source tracking. The column must exist. ComboCurve does not validate its values.

5.2 __CREATED_AT​

The column must exist. ComboCurve does not validate its values.

5.3 __UPDATED_AT​

Use this field as the record-level change watermark.

Requirements:

  • It must be present on every row.
  • It must change whenever the record changes.
  • ComboCurve applies rows in ascending __UPDATED_AT order, so the newest version of a record is applied last.

Because ComboCurve reads incrementally, a row is picked up only when its __UPDATED_AT is later than the last value ComboCurve processed. Rows that share the same timestamp are ordered by their business key. Rows with a NULL __UPDATED_AT, or a value earlier than that watermark, are not picked up after the first run.

5.4 __SOFT_DELETE​

Use this field to delete an existing record. When __SOFT_DELETE = TRUE, ComboCurve deletes the record. Use this field to delete an existing project. A delete finds the project by ID, not by PROJECT_NAME. ID must be the ComboCurve project ID or the exact project name. Rows without an ID are dropped from the delete.

6. Optional fields​

None. A project has no other loadable attributes today.

7. Load behavior​

  • Validation: ComboCurve skips a row that is missing a required value and writes the failure to the data share error log (DATA_SHARE_ERROR_LOGS, exposed as DATA_SHARE_ERROR_LOGS_SV). It keeps at most five sample rows for each rule in each batch.
  • Rejected rows: Rows that ComboCurve rejects are reported as load errors. For this dataset, other rows in the same request are not affected.
  • No automatic re-read: ComboCurve does not read a rejected row again on its own. To resubmit a corrected row, change its __UPDATED_AT to a newer value. ComboCurve retries temporary platform errors.
  • Missing view: If the view does not exist, ComboCurve skips this dataset and continues with the others.
  • Missing required column: If the view lacks a required column, the run for this dataset fails.
  • Dependencies: ComboCurve loads datasets in a fixed order and waits for each dependency to finish. If a dependency fails, the datasets that depend on it fail too. A dependency that is skipped because its view is missing does not block the datasets that depend on it.

8. Operational notes​

  • Deleting a row from the view does not delete the record in ComboCurve. ComboCurve only sees changes, so mark the row with __SOFT_DELETE = TRUE instead.
  • If a previous run is still active for the same source, the next scheduled run is skipped. The skipped run is not an error.
  • Preserve raw-source lineage for reconciliation and troubleshooting.
  • ComboCurve identifies a project by its name, so keep project names stable.
  • A project delete is destructive. ComboCurve deletes the project through its project deletion process. Confirm with ComboCurve what a delete removes before you send __SOFT_DELETE = TRUE for a project.
  • A project can hold at most 50,000 wells.