Skip to main content
Creates an alias for a dimension, allowing you to ensure Omni content that uses the field doesn’t break when the field is renamed.

Syntax

<field_name>:
  sql: ${'"FIELD_NAME'}
  aliases: [OLD_FIELD_NAME]

Properties

dimension_name
object[]
The name of the dimension.

Examples

order_price:
  sql: ${'"order_price'}
  aliases: [sale_price]