UpdateComputedColumnFormula
Changes the formula of an existing computed column on an active archive. Readers keep the previous values while the asset repository backfills the new formula as a background job, then switch atomically; a failed job reverts to the previous formula. Returns once the job is queued (follow it with ListRecomputeJobs, or pass -w). Rejected if another computed column references this one, or while a backfill of the column is still running.
Examples
octo-cli -c UpdateComputedColumnFormula -id <identifier> -n <name> -f <formula>
Options
| Short | Long | Required | Description |
|---|---|---|---|
-id | --identifier | yes | Runtime id of the archive carrying the computed column |
-n | --name | yes | Name of the computed column to re-formulate |
-f | --formula | yes | The new mXparser formula |
-w | --wait | no | Wait until the background backfill job has finished; exits non-zero when it fails |