Skip to content

docs: add greptime cli meta put key and put table command documentation#2456

Open
Copilot wants to merge 3 commits into
mainfrom
copilot/update-docs-metadata-commands
Open

docs: add greptime cli meta put key and put table command documentation#2456
Copilot wants to merge 3 commits into
mainfrom
copilot/update-docs-metadata-commands

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 7, 2026

Documents the new greptime cli meta put subcommands added in GreptimeTeam/greptimedb#7989. Updates nightly and v1.0 docs in both English and Chinese.

What's Changed in this PR

New sections added to metadata-interaction.md

Put key-value pairgreptime cli meta put key [KEY] --value-stdin [--no-validate]

  • --value-stdin (required): reads raw value bytes from stdin
  • --no-validate: bypasses key/value schema validation before write

Put table metadata — two subcommands sharing the --table-id / --table-name selector:

  • greptime cli meta put table info --value-stdin — updates TableInfoValue (JSON from stdin)
  • greptime cli meta put table route --value-stdin — updates TableRouteValue (JSON from stdin)

Examples for put table info and put table route are included. The put key usage example was removed as it was not a suitable illustration.

Checklist

  • Please confirm that all corresponding versions of the documents have been revised.
  • Please ensure that the content in sidebars.ts matches the current document structure when you changed the document structure.
  • This change requires follow-up update in localized docs.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 7, 2026

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6730218
Status: ✅  Deploy successful!
Preview URL: https://234523f2.greptime-docs.pages.dev
Branch Preview URL: https://copilot-update-docs-metadata.greptime-docs.pages.dev

View logs

Copilot AI changed the title [WIP] Update docs for metadata put key and table commands docs: add greptime cli meta put key and put table command documentation May 7, 2026
Copilot AI requested a review from WenyXu May 7, 2026 02:53
Copilot finished work on behalf of WenyXu May 7, 2026 02:53
Comment thread docs/reference/command-lines/utilities/metadata-interaction.md Outdated
Copilot finished work on behalf of WenyXu May 7, 2026 03:18
Copilot AI requested a review from WenyXu May 7, 2026 03:18
@WenyXu WenyXu marked this pull request as ready for review May 7, 2026 03:18
@WenyXu WenyXu requested a review from fengjiachun as a code owner May 7, 2026 03:18
Copilot AI review requested due to automatic review settings May 7, 2026 03:18
@WenyXu WenyXu requested a review from killme2008 as a code owner May 7, 2026 03:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds documentation for the newly introduced greptime cli meta put subcommands (key/value writes and table metadata writes) across both current and v1.0 docs, in English and Chinese.

Changes:

  • Documented greptime cli meta put key (stdin value + optional validation bypass).
  • Documented greptime cli meta put table info and greptime cli meta put table route (stdin JSON payloads).
  • Added examples for put table info / put table route and updated frontmatter descriptions to include insertion/write operations.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 8 comments.

File Description
docs/reference/command-lines/utilities/metadata-interaction.md Adds meta put command reference sections + examples for current (EN) docs.
versioned_docs/version-1.0/reference/command-lines/utilities/metadata-interaction.md Mirrors the same meta put documentation for v1.0 (EN) docs.
i18n/zh/docusaurus-plugin-content-docs/current/reference/command-lines/utilities/metadata-interaction.md Adds the corresponding meta put sections + examples for current (ZH) docs.
i18n/zh/docusaurus-plugin-content-docs/version-1.0/reference/command-lines/utilities/metadata-interaction.md Mirrors the same meta put documentation for v1.0 (ZH) docs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/reference/command-lines/utilities/metadata-interaction.md
Comment thread docs/reference/command-lines/utilities/metadata-interaction.md
@WenyXu WenyXu force-pushed the copilot/update-docs-metadata-commands branch from 801213a to 6730218 Compare May 7, 2026 03:42
@fengjiachun
Copy link
Copy Markdown
Contributor

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6730218cad

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/reference/command-lines/utilities/metadata-interaction.md
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.

Update docs for feat(cli): add metadata put key and table commands

4 participants