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 endpoints at the DBSQL Pro/Serverless tiers.

Mitigation

Please switch to a Photon-enabled cluster or a Databricks SQL endpoint at the DBSQL 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