This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 44489c2967 [docs] Add BloomFilter supported data types with hash
function details (#8313)
44489c2967 is described below
commit 44489c2967d883b56e5c7f7959d1b5a93f1e0236
Author: weibangpeng <[email protected]>
AuthorDate: Mon Jun 22 17:30:21 2026 +0800
[docs] Add BloomFilter supported data types with hash function details
(#8313)
---
docs/docs/concepts/spec/fileindex.mdx | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/docs/docs/concepts/spec/fileindex.mdx
b/docs/docs/concepts/spec/fileindex.mdx
index 71f3a61a1b..5bea1b5a8c 100644
--- a/docs/docs/concepts/spec/fileindex.mdx
+++ b/docs/docs/concepts/spec/fileindex.mdx
@@ -98,8 +98,17 @@ Content of bloom filter index is simple:
This class use (64-bits) long hash. Store the num hash function (one integer)
and bit set bytes only. Hash bytes type
(like varchar, binary, etc.) using xx hash, hash numeric type by [specified
number
hash](http://web.archive.org/web/20071223173210/http://www.concentric.net/~Ttwang/tech/inthash.htm).
-BloomFilter only support the following data type: TinyIntType, SmallIntType,
IntType, BigIntType, FloatType, DoubleType,
-DateType, TimeType, TimestampType, LocalZonedTimestampType, CharType,
VarCharType, BinaryType, VarBinaryType.
+BloomFilter supports the following data types:
+
+| Data type | Hash function |
+|-----------|--------------|
+| `CharType`, `VarCharType` | xx hash (64-bit) |
+| `BinaryType`, `VarBinaryType` | xx hash (64-bit) |
+| `TinyIntType`, `SmallIntType`, `IntType`, `BigIntType` | Thomas Wang hash |
+| `FloatType`, `DoubleType` | Thomas Wang hash (on IEEE 754 bit
representation) |
+| `DateType`, `TimeType`, `TimestampType`, `LocalZonedTimestampType` | Thomas
Wang hash |
+
+BloomFilter does not support: `BooleanType`, `DecimalType`, `VariantType`,
`BlobType`, `ArrayType`, `VectorType`, `MultisetType`, `MapType`, `RowType`.
## Index: Bitmap