Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 6, 2025

What's Changed in this PR

Updated documentation to reflect breaking changes in greptime_identity pipeline from greptimedb#6932:

Breaking Changes:

  • Removed flatten_json_object parameter - flattening is now always enabled
  • Arrays now convert to JSON strings instead of JSON type
  • Objects automatically flatten using dot notation (e.g., {"a":{"b":1}} → column a.b)

New Features:

  • Added max_nested_levels parameter (default: 10) to control flattening depth
  • When depth limit reached, remaining nested structures serialize to JSON strings instead of throwing errors

Updated Examples:

# Old (removed)
-H "x-greptime-pipeline-params: flatten_json_object=true"

# New
-H "x-greptime-pipeline-params: max_nested_levels=10"

Files Updated:

  • Built-in pipelines reference (EN/ZH)
  • Vector integration examples (EN/ZH)
  • Current docs and version 0.17 (version 0.16 and older unchanged)

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.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • googlechromelabs.github.io
    • Triggering command: node install.mjs (dns block)
  • https://storage.googleapis.com/chrome-for-testing-public/137.0.7151.119/linux64/chrome-headless-shell-linux64.zip
  • https://storage.googleapis.com/chrome-for-testing-public/137.0.7151.119/linux64/chrome-linux64.zip
    • Triggering command: node install.mjs (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Update docs for feat: improve greptime_identity pipeline behavior</issue_title>
<issue_description>A document change request is generated from GreptimeTeam/greptimedb#6932</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 6, 2025

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2008179
Status: ✅  Deploy successful!
Preview URL: https://eaeef29b.greptime-docs.pages.dev
Branch Preview URL: https://copilot-update-greptime-iden.greptime-docs.pages.dev

View logs

Copilot AI changed the title [WIP] Update documentation for greptime_identity pipeline improvements docs: Update greptime_identity pipeline for automatic flattening and max_nested_levels Nov 6, 2025
Copilot AI requested a review from waynexia November 6, 2025 07:21
Copilot finished work on behalf of waynexia November 6, 2025 07:21
@waynexia waynexia marked this pull request as ready for review November 6, 2025 07:52
Copy link
Contributor

@fengjiachun fengjiachun left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@discord9 discord9 left a comment

Choose a reason for hiding this comment

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

LGTK

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: improve greptime_identity pipeline behavior

4 participants