Skip to content

docs: fix tuple-prefix range examples - #31

Open
tclinkenbeard-oai wants to merge 1 commit into
foundationdb-oss:mainfrom
tclinkenbeard-oai:dev/tclinkenbeard/codex/doc-site-tuple-prefix-ranges
Open

docs: fix tuple-prefix range examples#31
tclinkenbeard-oai wants to merge 1 commit into
foundationdb-oss:mainfrom
tclinkenbeard-oai:dev/tclinkenbeard/codex/doc-site-tuple-prefix-ranges

Conversation

@tclinkenbeard-oai

Copy link
Copy Markdown
Contributor

Summary

The range examples use a packed null value as an upper bound, but null sorts before other tuple values. That excludes ordinary user keys from the examples' ranges.

  • Use the tuple-prefix range helpers in Python, Java, and Go, including the Python city-index example.
  • Correct the null-sort comments and clarify that these ranges contain tuples extending the prefix, not the prefix tuple itself.
  • Leave the experimental mapped-range mapper and RPC behavior unchanged.

Validation

  • A smoke check using the upstream pure-Python tuple encoders from releases 7.1.67, 7.3.77, and 7.4.6 reproduces the original empty ranges and passes with the corrected examples.
  • Verified the Java and Go range API signatures in those same release sources.
  • Strict MkDocs builds passed for FoundationDB 7.1, 7.3, and 7.4.

No live-cluster test was run; the Java and Go examples were source-checked, not compiled or executed.

@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

@tclinkenbeard-oai is attempting to deploy a commit to the panghy's projects Team on Vercel.

A member of the Team first needs to authorize it.

@tclinkenbeard-oai
tclinkenbeard-oai marked this pull request as ready for review August 19, 2026 23:22
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.

1 participant