UNSUPPORTED_METRIC_VIEW_USAGE error class

SQLSTATE: 0A000

The current metric view usage is not supported.

FEATURE_NOT_ENABLED

Please make sure spark.databricks.sql.metricView.enabled is set to true.

MEASURE_REQUIRES_EXACTLY_ONE_COLUMN

MEASURE() requires exactly one measure column as argument.

SELECT_STAR_NOT_SUPPORTED

SELECT * is not supported in metric views.

UNCATEGORIZED

Please check the documentation for the supported use cases.