Skip to main content

In-Reader capabilities and limits

In-Reader capabilities and limits​

The In-Reader is the ComboCurve job that reads data from your Databricks Delta Share and loads it into your ComboCurve tenant. This page summarizes what it supports today and what it does not. The dataset pages in this section describe each dataset in detail.


1. How it works​

  1. A scheduled ComboCurve job reads each dataset incrementally from its INBOUND_*_SV view in your tenant schema. ComboCurve builds these views over the Delta Share that you expose from your Databricks workspace.
  2. For each dataset, the job reads rows in ascending __UPDATED_AT order, starting after the last value it processed, and validates them.
  3. The job sends the rows to ComboCurve for loading. A row with __SOFT_DELETE = TRUE becomes a delete.
  4. The job saves its position, so a run that fails resumes from where it stopped.

2. Supported datasets​

ComboCurve loads datasets in this order. A dataset starts only after the datasets it depends on have finished.

OrderDatasetSource viewBusiness keyDepends on
1ProjectsINBOUND_PROJECTS_SVPROJECT_NAMENone
2Well headersINBOUND_WELL_HEADERS_SVCHOSEN_ID, DATASOURCE (and PROJECT_NAME)Projects
3Daily productionINBOUND_WELL_PRODUCTION_VOLUMES_DAILY_SVCHOSEN_ID, DATASOURCE, PROJECT_NAME, PRODUCTION_DATEProjects, well headers
4Monthly productionINBOUND_WELL_PRODUCTION_VOLUMES_MONTHLY_SVCHOSEN_ID, DATASOURCE, PROJECT_NAME, PRODUCTION_DATEProjects, well headers
5ForecastsINBOUND_FORECASTS_SVPROJECT_NAME, NAMEProjects
6Forecast wellsINBOUND_FORECASTS_WELLS_SVPROJECT_NAME, NAME, CHOSEN_ID, DATASOURCEForecasts, well headers
7Type curves (Type Curve 2.0)INBOUND_TYPE_CURVES_V2_SVPROJECT_NAME, NAMEProjects, forecasts, forecast wells
8Type curve wells (Type Curve 2.0)INBOUND_TYPE_CURVES_V2_WELLS_SVPROJECT_NAME, TYPE_CURVE_NAME, CHOSEN_ID, DATASOURCEType curves, well headers, forecast wells

Every dataset supports updates and soft deletes through __SOFT_DELETE.

note

Well headers, daily production, and monthly production are set up when your inbound integration is enabled. ComboCurve builds each of these views over your Delta Share and maps your column names to the standard layout. The other datasets in this table, including Projects, are set up on request, because each one needs its own INBOUND_*_SV view. A dataset without a view is skipped.

A well header row that names a PROJECT_NAME needs that project to exist in ComboCurve. Load it with the Projects dataset, or create it in ComboCurve first.


3. What the In-Reader can do​

  • Load projects, project wells, daily and monthly production, forecast headers, forecast wells, and Type Curve 2.0 headers and wells.
  • Load incrementally. It reads only rows that changed since the last run.
  • Resume after a failure from the last saved position.
  • Apply updates and deletes. A soft delete removes the record in ComboCurve.
  • Create a well in a project when you include the well header row for that project.
  • Link wells to forecasts when the wells are already in the forecast project.
  • Report rows that fail validation in the data share error log (DATA_SHARE_ERROR_LOGS_SV).
  • Skip a run while another run for the same source is still active, so runs never overlap.

4. What the In-Reader cannot do today​

  • Assign wells to scenarios. Wells can be assigned to projects and forecasts. Scenario assignment still has to be done in ComboCurve.
  • Assign an existing company well to a project. A well in a project is a project-level record of its own, not a link to a company well. To place a well in several projects, include its header row once for each project.
  • Add a company-level well to a forecast. The well must already exist in the forecast project.
  • Load forecast parameters or forecast volumes. These datasets are not available yet.
  • Load Type Curve 2.0 fits, segments, or normalization data. Only type curve headers and wells are loaded. Type Curve 1.0 is retired and is not supported.
  • Load project details beyond the project name.
  • Detect rows that you remove from a view. ComboCurve only sees rows whose __UPDATED_AT changed. Use __SOFT_DELETE = TRUE to delete a record.
  • Pick up backdated changes. A row whose __UPDATED_AT is earlier than the last processed value is not read again.
  • Read a rejected row again on its own. Change the row's __UPDATED_AT to resubmit it.
  • Overwrite calculated well header columns. ComboCurve ignores values you send for columns that it calculates. See the well header page for the list.

5. Limits​

  • A project can hold at most 50,000 wells. ComboCurve rejects inserts that would exceed the limit.
  • ComboCurve expects a forecast name and a type curve name to be unique within a project. The shared views do not enforce this, and a duplicate name is ambiguous when you load data back.
  • If a well is already linked to a forecast, a repeated forecast well row is reported as an error. It does not affect other rows.
  • A well header request fails as a whole when its project does not exist. A well delete request for a project deletes nothing when any well in it is missing from that project, and the error is written to the error log. See the well header page.
  • A project delete is destructive. Confirm with ComboCurve what it removes before you send one.
  • ComboCurve splits large well header, production and project loads into smaller requests automatically. Forecast and type curve loads are not split, so one rejected duplicate name can affect many rows.

6. Where to look when a row does not load​

  1. Query DATA_SHARE_ERROR_LOGS_SV in your tenant schema. Filter on DIRECTION = 'INBOUND' and the dataset in RECORD_TYPE.
  2. Check that every required column exists in the view. A missing required column fails the run for that dataset.
  3. Check __UPDATED_AT. Make sure it is populated and later than the last value that ComboCurve processed.
  4. Check the dependencies. A dataset does not load when a dataset it depends on failed. A dependency that is skipped because its view is missing does not block the datasets that depend on it.