H3_NOT_ENABLED error class

<h3Expression> is disabled or unsupported. Consider enabling Photon or switch to a tier that supports H3 expressions

Parameters

  • h3Expression: An H3-related expression.

Explanation

H3 expressions are only supported in Photon-enabled clusters and Databricks SQL warehouses at the Databricks SQL pro and serverless tiers.

Mitigation

Use a Photon-enabled cluster or a Databricks SQL warehouse at the Databricks SQL pro or serverless tier.

Examples

-- The following with happen in a notebook where Photon is not enabled.
> SELECT h3_resolution('85283473fffffff')
  [H3_NOT_ENABLED] h3_resolution is disabled or unsupported. Consider enabling Photon or switch to a tier that supports H3 expressions