catalog_organization.

set_hll_type

set_hll_type(value: HLLType)

Set the organization-level HyperLogLog function family.

Idempotent: creates the `hyperLogLogType` setting if missing, otherwise updates the existing one. The platform exposes this as the `HLL_TYPE` org setting (gdc-nas `HLL_TYPE("hyperLogLogType", SettingConfiguration.HyperLogLogType)`).

Parameters

nametypedescription
valueHLLType`"Native"` for StarRocks-native HLL functions (default on the platform side), or `"Presto"` for Presto-compatible HLL functions (use when synopses come from a Presto pipeline; requires the Presto HLL UDFs registered in StarRocks).

Returns

None

Example

from gooddata_sdk import GoodDataSdk

sdk = GoodDataSdk.create(host="https://demo.gooddata.com", token="<token>")

# Customer ingests pre-aggregated tables whose HLL columns were produced by
# Presto. Switch the org so calcique emits Presto-compatible HLL SQL.
sdk.catalog_organization.set_hll_type("Presto")