Skip to content

orchestration_session_issue

Description

An orchestration issue is generated when an error or warning needs to
be created during the orchestration of an entry in a session.

Table Definition
CREATE TABLE "orchestration_session_issue" (
"orchestration_session_issue_id" UUID PRIMARY KEY NOT NULL,
"session_id" VARCHAR NOT NULL,
"session_entry_id" VARCHAR,
"issue_type" TEXT NOT NULL,
"issue_message" TEXT NOT NULL,
"issue_row" INTEGER,
"issue_column" TEXT,
"invalid_value" TEXT,
"remediation" TEXT,
"elaboration" TEXT CHECK(json_valid(elaboration) OR elaboration IS NULL),
FOREIGN KEY("session_id") REFERENCES "orchestration_session"("orchestration_session_id"),
FOREIGN KEY("session_entry_id") REFERENCES "orchestration_session_entry"("orchestration_session_entry_id")
)

Columns

NameTypeDefaultNullableChildrenParentsComment
orchestration_session_issue_idUUIDfalseorchestration_session_issue_relationorchestration_session_issue primary key and internal label (UUID)
session_idVARCHARfalseorchestration_session{“isSqlDomainZodDescrMeta”:true,“isVarChar”:true}
session_entry_idVARCHARtrueorchestration_session_entry{“isSqlDomainZodDescrMeta”:true,“isVarChar”:true}
issue_typeTEXTfalseThe category of an issue
issue_messageTEXTfalseThe human-friendly message for an issue
issue_rowINTEGERtrueThe row number in which the issue occurred (may be NULL if not applicable)
issue_columnTEXTtrueThe name of the column in which the issue occurred (may be NULL if not applicable)
invalid_valueTEXTtrueThe invalid value which caused the issue (may be NULL if not applicable)
remediationTEXTtrueIf the issue is correctable, explain how to correct it.
elaborationTEXTtrueisse-specific attributes/properties in JSON (“custom data”)

Constraints

NameTypeDefinition
orchestration_session_issue_idPRIMARY KEYPRIMARY KEY (orchestration_session_issue_id)
- (Foreign key ID: 0)FOREIGN KEYFOREIGN KEY (session_entry_id) REFERENCES orchestration_session_entry (orchestration_session_entry_id) ON UPDATE NO ACTION ON DELETE NO ACTION MATCH NONE
- (Foreign key ID: 1)FOREIGN KEYFOREIGN KEY (session_id) REFERENCES orchestration_session (orchestration_session_id) ON UPDATE NO ACTION ON DELETE NO ACTION MATCH NONE
sqlite_autoindex_orchestration_session_issue_1PRIMARY KEYPRIMARY KEY (orchestration_session_issue_id)
-CHECKCHECK(json_valid(elaboration) OR elaboration IS NULL)

Indexes

NameDefinition
sqlite_autoindex_orchestration_session_issue_1PRIMARY KEY (orchestration_session_issue_id)

Relations

er