Skip to main content

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​

ShortLongRequiredDescription
-id--identifieryesRuntime id of the archive carrying the computed column
-n--nameyesName of the computed column to re-formulate
-f--formulayesThe new mXparser formula
-w--waitnoWait until the background backfill job has finished; exits non-zero when it fails