Type curves
Type curves
1. Integration overview
Dataset Name: Type Curves
Shared View: TYPE_CURVES_V2_SV
Delivery Mechanism: Databricks view via Delta Sharing
Update Pattern: Continuous Update
Export Trigger: None — this dataset is delivered continuously, not on export.
2. Business context (Oil & Gas Reservoir Engineering)
This dataset lists the type curves in each project: one row per type curve, with the forecast and series it is built from and a summary of its fits.
This dataset covers Type Curve 2.0. Type Curve 1.0 is retired, its Databricks views are being removed, and this page does not document them.
Related datasets: TYPE_CURVES_V2_WELLS_SV (wells), TYPE_CURVE_FITS_V2_SV and TYPE_CURVE_FIT_SEGMENTS_V2_SV (fits), and the TYPE_CURVE_NORMALIZATION_*_V2_SV views (normalization).
3. Dataset characteristics
What this dataset is
- Entity grain: One record per type curve (latest version).
- Measures: The forecast and series the type curve uses, plus fit type and base phase per phase.
- Enrichment: Adds
PROJECT_NAME,FORECAST_NAME, the per-phaseFIT_TYPE_*andBASE_PHASE_*columns, andHAS_FITS.
Mutable, near real-time dataset
This dataset is mutable: records may be inserted, updated, or soft-deleted after their initial arrival.
Updates are delivered to Databricks continuously. When a change is made in ComboCurve, the corresponding change is typically reflected in Databricks within ~1–3 minutes.
Soft deletes
When a record is deleted in the source system, the dataset reflects that through the __SOFT_DELETE flag. The shared view does not remove those rows. Filter __SOFT_DELETE = FALSE unless you explicitly want to track deletions.
4. Expected record uniqueness
- Technical uniqueness (as exposed by the shared view):
ID - Business identity (recommended for client reporting):
PROJECT_NAME+NAME. Names are not enforced to be unique, so join on the technical key.
5. Client access pattern
Query the shared view directly:
- Primary access object:
TYPE_CURVES_V2_SV - Typical filters:
__SOFT_DELETE = FALSE(exclude deleted type curves)PROJECT_NAME(project scoping)
- Common joins:
- Join to
TYPE_CURVES_V2_WELLS_SVandTYPE_CURVE_FITS_V2_SVonTYPE_CURVE_ID = TYPE_CURVES_V2_SV.ID. - Join to
FORECASTS_SVonFORECAST_ID.
- Join to
Example:
SELECT ID, NAME, FORECAST_NAME, FORECAST_SERIES, HAS_FITS
FROM <shared_catalog>.<shared_schema>.TYPE_CURVES_V2_SV
WHERE __SOFT_DELETE = FALSE
AND PROJECT_NAME = '<project_name>';
6. Full schema definition (client-facing shared view)
The following schema reflects the client-facing shared view (TYPE_CURVES_V2_SV). Columns are organized into data categories for easier discovery.
6.1 Type curve identity and project
| Column | Data Type | Description |
|---|---|---|
| ID | STRING | Unique identifier for the type curve |
| NAME | STRING | Type curve name |
| PROJECT_ID | STRING | Reference to the related project |
| PROJECT_NAME | STRING | Name of the related project. |
| COPIED_FROM_ID | STRING | Reference to the source type curve when copied |
6.2 Forecast source
| Column | Data Type | Description |
|---|---|---|
| FORECAST_ID | STRING | Reference to the related forecast |
| FORECAST_NAME | STRING | Name of the related forecast. |
| FORECAST_SERIES | STRING | Forecast series used by the type curve (best, P10, P50 or P90) |
6.3 Fit summary
| Column | Data Type | Description |
|---|---|---|
| HAS_FITS | BOOLEAN | TRUE when the type curve has at least one fit that is not deleted. |
| FIT_TYPE_OIL | STRING | Fit type of the oil fit (rate or ratio). NULL when the type curve has no oil fit. |
| FIT_TYPE_GAS | STRING | Fit type of the gas fit (rate or ratio). NULL when the type curve has no gas fit. |
| FIT_TYPE_WATER | STRING | Fit type of the water fit (rate or ratio). NULL when the type curve has no water fit. |
| BASE_PHASE_OIL | STRING | Base phase of the oil fit when it is a ratio fit. NULL otherwise. |
| BASE_PHASE_GAS | STRING | Base phase of the gas fit when it is a ratio fit. NULL otherwise. |
| BASE_PHASE_WATER | STRING | Base phase of the water fit when it is a ratio fit. NULL otherwise. |
6.4 Audit
| Column | Data Type | Description |
|---|---|---|
| CREATED_BY_ID | STRING | Reference to the user who created the type curve |
| UPDATED_BY_ID | STRING | Reference to the user who last updated the type curve |
| CREATED_AT | TIMESTAMP_NTZ | Timestamp when the type curve was created |
| UPDATED_AT | TIMESTAMP_NTZ | Timestamp when the type curve was updated |
6.5 Record metadata and integration
| Column | Data Type | Description |
|---|---|---|
| __RECORD_SOURCE | STRING | Origin of the data. |
| __CREATED_AT | TIMESTAMP_NTZ | Timestamp when the record was created in the integration. |
| __UPDATED_AT | TIMESTAMP_NTZ | Timestamp when the record was last updated in the integration. |
| __SOFT_DELETE | BOOLEAN | Integration soft-delete flag. TRUE means the record was deleted in ComboCurve. |
7. Incremental consumption best practices
Pull only new or changed records
For scheduled ingestion, pull records where __UPDATED_AT is greater than your last successful ingestion watermark. Optionally include a small lookback window to capture late updates. Keep soft-deleted rows in the pull so that you can apply the deletes downstream.
SELECT * FROM TYPE_CURVES_V2_SV
WHERE __UPDATED_AT > '<last_watermark>';
Deduplicate by the shared-view key
Treat ID as the record key and upsert accordingly. The shared view always resolves to the latest version for that key, based on COALESCE(__UPDATED_AT, __CREATED_AT).
8. Operational notes
- Latest-row logic: The shared view returns the most recent record for each key, ordered by
COALESCE(__UPDATED_AT, __CREATED_AT). - Late revisions: Records can change after their first appearance. Use incremental pulls driven by
__UPDATED_ATand consider a small backfill window. - Fit summary: The fit columns summarize the latest, non-deleted fit of each phase. For segment-level detail, query
TYPE_CURVE_FITS_V2_SVandTYPE_CURVE_FIT_SEGMENTS_V2_SV.