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
- A scheduled ComboCurve job reads each dataset incrementally from its
INBOUND_*_SVview in your tenant schema. ComboCurve builds these views over the Delta Share that you expose from your Databricks workspace. - For each dataset, the job reads rows in ascending
__UPDATED_ATorder, starting after the last value it processed, and validates them. - The job sends the rows to ComboCurve for loading. A row with
__SOFT_DELETE = TRUEbecomes a delete. - 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.
| Order | Dataset | Source view | Business key | Depends on |
|---|---|---|---|---|
| 1 | Projects | INBOUND_PROJECTS_SV | PROJECT_NAME | None |
| 2 | Well headers | INBOUND_WELL_HEADERS_SV | CHOSEN_ID, DATASOURCE (and PROJECT_NAME) | Projects |
| 3 | Daily production | INBOUND_WELL_PRODUCTION_VOLUMES_DAILY_SV | CHOSEN_ID, DATASOURCE, PROJECT_NAME, PRODUCTION_DATE | Projects, well headers |
| 4 | Monthly production | INBOUND_WELL_PRODUCTION_VOLUMES_MONTHLY_SV | CHOSEN_ID, DATASOURCE, PROJECT_NAME, PRODUCTION_DATE | Projects, well headers |
| 5 | Forecasts | INBOUND_FORECASTS_SV | PROJECT_NAME, NAME | Projects |
| 6 | Forecast wells | INBOUND_FORECASTS_WELLS_SV | PROJECT_NAME, NAME, CHOSEN_ID, DATASOURCE | Forecasts, well headers |
| 7 | Type curves (Type Curve 2.0) | INBOUND_TYPE_CURVES_V2_SV | PROJECT_NAME, NAME | Projects, forecasts, forecast wells |
| 8 | Type curve wells (Type Curve 2.0) | INBOUND_TYPE_CURVES_V2_WELLS_SV | PROJECT_NAME, TYPE_CURVE_NAME, CHOSEN_ID, DATASOURCE | Type curves, well headers, forecast wells |
Every dataset supports updates and soft deletes through __SOFT_DELETE.
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_ATchanged. Use__SOFT_DELETE = TRUEto delete a record. - Pick up backdated changes. A row whose
__UPDATED_ATis earlier than the last processed value is not read again. - Read a rejected row again on its own. Change the row's
__UPDATED_ATto 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
- Query
DATA_SHARE_ERROR_LOGS_SVin your tenant schema. Filter onDIRECTION = 'INBOUND'and the dataset inRECORD_TYPE. - Check that every required column exists in the view. A missing required column fails the run for that dataset.
- Check
__UPDATED_AT. Make sure it is populated and later than the last value that ComboCurve processed. - 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.