> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# hll_hash

> Converts a value to an hll type.

Converts a value to an hll type. Typically used in imports to map a value in the source data to an HLL column type in the table.

## Syntax

```Haskell theme={null}
HLL_HASH(column_name)
```

## Parameters

`column_name`: The name of the generated HLL column.

## Return value

Returns a value of the HLL type.

## Example

```plain text theme={null}
mysql> select hll_cardinality(hll_hash("a"));
+--------------------------------+
| hll_cardinality(hll_hash('a')) |
+--------------------------------+
|                              1 |
+--------------------------------+
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.