Skip to content

docs: document iceberg_hash partitioning functions - #3041

Merged
killme2008 merged 1 commit into
mainfrom
docs/iceberg-hash-functions
Nov 13, 2026
Merged

killme2008 merged 1 commit into
mainfrom
docs/iceberg-hash-functions

Conversation

@v0y4g3r

@v0y4g3r v0y4g3r commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Summary

iceberg_hash SQL functions and partition rules
├── new English and Chinese partitioning-function references
├── hash-partitioning workflow in both table-sharding guides
└── sidebar and function-overview navigation

What changed

Document the four functions added by GreptimeTeam/greptimedb#10361: iceberg_hash, iceberg_hash_bounds, iceberg_hash_breakpoints, and iceberg_hash_ranges_sql.

  • Explain signatures, supported types, bucket-count limits, NULL handling, and region-pruning limitations.
  • Add SQL examples verified against the GreptimeDB SQLNESS results, including complete equal-width and custom-breakpoint rule lists.
  • Document iceberg_hash partition rules from GreptimeTeam/greptimedb#9693, including Nightly availability, hot-key caveats, and cluster-version compatibility.
  • Add the new reference page to the sidebar and both function overviews.

Scope

  • Documentation versions: Nightly only; the functions are not included in GreptimeDB v1.3.0 or v1.3.1.
  • Languages: English and Chinese.

Evidence

  • Before: No usage documentation for the iceberg_hash function family or hash partition rules.
    After: Both locales have a dedicated function reference, source-verified examples, and a complete hash-partitioning workflow.

Verification

  • DOC_LANG=en pnpm check:links — passed.
  • DOC_LANG=zh pnpm check:links — passed.
  • pnpm test — 59 tests passed.
  • typos on the changed Markdown files — passed.
  • markdownlint-cli on the changed Markdown files — passed.
  • git diff --check — passed.
  • pnpm typecheck — reports missing type definitions for @docusaurus/theme-classic and node; the unmodified main checkout produces the same pre-existing failure.

Merge Danger

Door: two-way

Blast Radius: documentation and navigation only

No runtime code, released documentation versions, dependency manifests, or lockfiles are changed. The PR can be reverted without affecting GreptimeDB behavior.

Checklist

  • I verified the content against the applicable GreptimeDB version.
  • I updated the relevant documentation versions and languages, or explained why not.
  • I checked changed links and anchors.
  • I updated navigation when the document structure changed.
  • Not applicable: this is not a version cut, stable promotion, or feature backport.

Signed-off-by: Lei, HUANG <ratuthomm@gmail.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: dcc0059
Status: ✅  Deploy successful!
Preview URL: https://dda1aceb.greptime-docs.pages.dev
Branch Preview URL: https://docs-iceberg-hash-functions.greptime-docs.pages.dev

View logs

@killme2008
killme2008 merged commit 11da47d into main Nov 13, 2026
7 checks passed
@killme2008
killme2008 deleted the docs/iceberg-hash-functions branch November 13, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants