Lifecycle¶
What happens to a Computed File after you save it, edit it, or delete it. This page covers the profile that fires on Create, the volumetric and freshness tracking you can turn on, how edits re-profile, how the Timeline captures changes, and what a delete cascades to.
Basic Profile on Create¶
When a Computed File is saved for the first time, Qualytics runs two profiles back to back: a synchronous slim profile that samples up to 1000 records per partition so field-level statistics appear immediately, and a full asynchronous profile in the background. The full profile inherits its settings (record cap, AI effort, incremental bounds) from the prior substantial profile of the container when one exists; on first save it uses the safe defaults of ai_effort="off" and one million records per partition. The full profile shows up in the datastore's operations page as it progresses; you can also trigger additional profiles manually whenever you want a fresh run.
Volumetric and Freshness Tracking¶
Computed Files support the same volumetric (row-count) and freshness tracking that base file patterns do. When either is enabled, Qualytics samples the relevant metric on every profile so trend charts populate over time:
volumetric_tracking_enabled: records the row count on each profile.freshness_tracking_enabled: records the newest timestamp on each profile using the container's freshness field.
Two automation toggles turn tracking history into standing anomaly detection:
automate_volumetric_checks: Qualytics creates a volumetric check that fires on unexpected row-count drops or spikes.automate_freshness_checks: Qualytics creates a freshness check that fires when the container's freshness timestamp falls behind its usual cadence.
Enabling automation implicitly enables the corresponding tracking. Submitting automate_volumetric_checks: true while volumetric_tracking_enabled: false turns the tracking flag on for you, and the same cascade applies to freshness.
Editing Triggers a Profile¶
Saving an edit that changes the query kicks off validation and re-profiling right away. Qualytics runs a quick profile on a sample so field-level statistics refresh immediately, and follows up with a full asynchronous profile in the background. Metadata-only updates (Description, Owner, Additional Metadata) skip both profiles. Existing quality checks are preserved as long as the fields they target still appear in the new schema. If the edit drops a field that an active check depends on, Qualytics returns an explicit warning listing the affected checks and anomalies and asks you to confirm before proceeding. Anomalies raised against the older query stay in the anomaly history for auditability.
Query Diff¶
Every save that changes the query produces a new version of it. The container's Timeline lists these versions in order. Every query change collapses behind a View changes control, however short it is. View changes opens a Query Changes dialog with the previous and new query side by side, aligned line for line, changed lines highlighted, and a copy button on each side, along with the user and timestamp for that change.
For a Computed File still defined by separate clauses, each clause change opens its own dialog, titled after the clause, such as Where Clause Changes or Select Clause Changes. Changes to its lateral views are recorded in the Timeline but do not open a comparison dialog. The save that first replaces the clauses with a query records the query as set, with no previous version to compare.
Delete Cascades¶
Deleting a Computed File is a hard delete. When the delete succeeds, Qualytics removes the container together with its quality checks, anomalies, profile history, and scan history. There is no archive step and no undo.
The delete is blocked with 409 Conflict when quality checks in other containers reference this Computed File through a configured reference container. The following rule types can trigger the block:
existsInnotExistsIndataDiffaggregationComparisonisReplicaOf(sunsetting; usedataDifffor new checks)
The error response lists the specific quality-check IDs that block the delete. Delete or repoint those checks first, then retry. Archived checks normally do not block the delete, and an archived check that references this container is permanently deleted together with the container. If an archived check is still listed in the 409 error, delete it first.
Notifications¶
- Editing a Computed File sends an in-app notification to the owner, unless the editor is also the owner.
- Creating or deleting a Computed File does not emit an owner notification.
- Transferring ownership notifies the new owner that the asset is now theirs. The previous owner is not notified that it was moved away from them.
- You are never notified about your own actions, so editing or reassigning an asset you own is silent.
Team-level or datastore-level notification rules layered on top of this behavior apply as configured elsewhere in the platform.