Skip to main content

Data share error log

Data share error log​


1. Integration overview​

Dataset Name: Data share error log Shared View: DATA_SHARE_ERROR_LOGS_SV Delivery Mechanism: Databricks view via Delta Sharing Update Pattern: Append-only. ComboCurve adds rows when an inbound load rejects data.


2. Business context​

When the In-Reader loads your inbound data, it skips any row that fails validation or that ComboCurve rejects. It writes one error entry for the rejection. Use this view to find which rows did not load and why.

Every inbound dataset page in this section refers to this view. It describes only inbound loads from your Delta Share.


3. Dataset characteristics​

  • Entity grain: One row per logged error.
  • Samples: For a validation rule, ComboCurve logs up to five sample records for each rule in each batch (RECORD). When ComboCurve rejects a row while saving it, the error is logged for that record.
  • Plain messages: ERROR_MESSAGE is written for you. When the cause is a ComboCurve system error, the message says System error, please contact support. Contact ComboCurve support in that case.
  • Dataset-level entries: A row can also report that a whole dataset did not run, for example when a dataset it depends on failed. These rows name the dataset in RECORD_TYPE and carry run details in RECORD.
  • No automatic re-read: ComboCurve does not read a rejected row again. To resubmit a corrected row, change its __UPDATED_AT to a newer value.

4. Client access pattern​

Query the shared view directly:

  • Primary access object: DATA_SHARE_ERROR_LOGS_SV
  • Typical filters:
    • DIRECTION = 'INBOUND'
    • RECORD_TYPE = '<dataset>' to look at one dataset
    • LOAD_TIMESTAMP after your last run

Example:

SELECT LOAD_TIMESTAMP, RECORD_TYPE, RECORD_OPERATION, ERROR_MESSAGE, RECORD
FROM <shared_catalog>.<shared_schema>.DATA_SHARE_ERROR_LOGS_SV
WHERE DIRECTION = 'INBOUND'
AND LOAD_TIMESTAMP > '<last_check>'
ORDER BY LOAD_TIMESTAMP DESC;

5. Full schema definition​

ColumnData TypeDescription
RECORD_TYPESTRINGDataset that the error belongs to. Row rejections use names such as daily-productions, monthly-productions and projects. Dataset-level entries use the dataset name, such as well-headers or well-production-volumes-daily.
DIRECTIONSTRINGINBOUND for errors found while loading your data into ComboCurve.
ERROR_MESSAGESTRINGWhat went wrong, for example No well was found with data source ... and chosen id ... in company scope.
RECORD_OPERATIONSTRINGThe operation that failed, for example UPSERT, DELETE, INSERT, UPDATE or REPLACE. Dataset-level entries use a step name such as process_entity or ingest_finalize.
RECORDVARIANTJSON with the failing record or with details of the run. Can include technical detail. Read ERROR_MESSAGE first.
LOAD_TIMESTAMPTIMESTAMP_NTZWhen ComboCurve logged the error.

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

  1. Filter this view on the dataset and the time of your load.
  2. Read ERROR_MESSAGE and compare RECORD with your source row.
  3. Fix the row in your source and change its __UPDATED_AT to a newer value so that ComboCurve reads it again.
  4. If a whole dataset is missing from the view and from ComboCurve, check the capabilities page: a missing required column fails the run for that dataset, and a missing source view skips it.