Kaizen
Browse modulesInsightsinsights/sharedTypes

Type Alias: DefinitionIssueCode

type DefinitionIssueCode = 
  | "unknown-subject"
  | "unknown-field"
  | "not-filterable"
  | "not-groupable"
  | "not-aggregatable"
  | "not-sortable"
  | "operator-type-mismatch"
  | "enum-value-not-allowed"
  | "bucket-requires-date"
  | "aggregation-requires-numeric"
  | "aggregation-requires-field"
  | "unresolved-sort-key"
  | "unresolved-column"
  | "unused-aggregation"
  | "bucketed-sort-requires-column"
  | "alias-shadows-field"
  | "duplicate-alias"
  | "duplicate-groupby-field"
  | "column-not-grouped";

Defined in: shared/insights/validate-definition.ts:27

Machine-readable classification of a semantic validation failure. The builder, server query layer, and the Ask retry loop all key off these codes, so keep them stable.