SEMANTIC_METRICS view¶
This Information Schema view displays a row for each metric in a semantic view in the specified (or current) database.
- See also:
Columns¶
Column name | Data type | Description |
|---|---|---|
| VARCHAR | Database to which the semantic view belongs. |
| VARCHAR | Schema to which the semantic view belongs. |
| VARCHAR | Name of the semantic view. |
| VARCHAR | Name of the semantic table the metric belongs to. |
| VARCHAR | Name of the metric. |
| VARCHAR | Data type of the metric expression. |
| VARCHAR | The SQL expression used to calculate the metric. |
| ARRAY(VARCHAR) | List of the synonyms for the metric. |
| VARCHAR | Description of the metric. |
Access control requirements¶
Private metrics are included only if you are using a role that has been granted the REFERENCES or OWNERSHIP privilege on the semantic view.
Otherwise, the view lists only the public metrics.