H3_NOT_ENABLED error class
November 09, 2023
SQLSTATE: none assigned
<h3Expression>
is disabled or unsupported. Consider enabling Photon or switch to a tier that supports H3 expressions
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
SQL
-- 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