June 25, 2026: Support for sample values and enum indicators in semantic view DDL¶
When defining a semantic view, you can now specify sample values and enum indicators in the CREATE SEMANTIC VIEW command.
- Use the
SAMPLE_VALUESclause to provide representative values for a dimension or fact. Sample values help Cortex Analyst understand the range of data in a column so that it can generate more accurate SQL queries. - Use the
IS_ENUMkeyword on a dimension to indicate that the sample values represent the complete set of possible values. WhenIS_ENUMis set, Cortex Analyst only chooses from those values when filtering on the column.
These features were previously available only in the YAML specification and are now supported in DDL as well.
For more information, see Adding sample values and enum indicators.