Skip to main content

Type curves ingestion reference

Type curves ingestion reference​

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

1. Purpose​

TYPE_CURVES_V2 lists Type Curve 2.0 headers. ComboCurve creates or updates each type curve in its project.

This dataset loads the type curve header only. It does not load fits, segments, or normalization data. Type Curve 1.0 is retired and is not supported.

2. Source object​

ComboCurve reads this data through the INBOUND_TYPE_CURVES_V2_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 type curve. ComboCurve loads type curves after projects, forecasts, and forecast wells.

3. Record identity​

Treat the following fields as the business key:

  • PROJECT_NAME
  • NAME

Uniqueness rule:

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

4. Required fields​

4.1 Identity​

  • PROJECT_NAME
  • NAME

4.2 Audit​

  • __RECORD_SOURCE
  • __CREATED_AT
  • __UPDATED_AT
  • __SOFT_DELETE

PROJECT_NAME must match a project that already exists or that the same run loads. ComboCurve expects a type curve name to be unique within a project.

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. Delete rows must still provide the identity fields in section 3.

6. Optional fields​

These columns are optional. ComboCurve sets only the columns that a row carries, so leaving a column out of the view never clears an existing value.

  • FORECAST_ID
  • FORECAST_SERIES
  • COPIED_FROM_ID

FORECAST_ID must be the ComboCurve forecast ID. A type curve links to a forecast by ID, not by name. FORECAST_SERIES must be best unless the forecast is probabilistic. If the view also carries PROJECT_ID, ComboCurve uses it in preference to PROJECT_NAME.

ComboCurve ignores CREATED_BY_ID, UPDATED_BY_ID, CREATED_AT, and UPDATED_AT on load.

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.
  • Forecast rules: A row that sets FORECAST_ID or FORECAST_SERIES must satisfy the same forecast rules as in the ComboCurve application. A row that breaks them is rejected.
  • Duplicate names: If one request contains more than one record with the same project and type curve name, ComboCurve rejects all of them. ComboCurve does not split these loads, so the rejection can cover every row in the load.
  • Changing the forecast: Linking a type curve to a different forecast keeps only the type curve wells that the new forecast contains.

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 stamps the type curve as created and updated by the data share user for your tenant, not by the user IDs in the view.