Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 4, 2025

Documents new functions and extended type support from GreptimeDB PR #7107.

Changes

  • Added regexp_extract function - Extracts first substring matching a regex pattern, returns NULL on no match

    SELECT regexp_extract('version 1.2.3', '\d+\.\d+\.\d+');
    -- Returns: 1.2.3
    
    SELECT regexp_extract('no match', '\d+');
    -- Returns: NULL
  • Updated to_char/date_format documentation - Now explicitly documents Date64 support alongside existing Date32 and Timestamp types

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
  • https://storage.googleapis.com/chrome-for-testing-public/137.0.7151.119/linux64/chrome-headless-shell-linux64.zip
    • Triggering command: node install.mjs (http block)
  • https://storage.googleapis.com/chrome-for-testing-public/137.0.7151.119/linux64/chrome-linux64.zip

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: adds format, regex_extract function and more type tests</issue_title>
<issue_description>A document change request is generated from GreptimeTeam/greptimedb#7107</issue_description>

<agent_instructions>Update the function doc based on the original database pull request.</agent_instructions>

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


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update documentation for format and regex_extract function docs: Add regexp_extract function and Date64 support for date_format Nov 4, 2025
Copilot finished work on behalf of killme2008 November 4, 2025 09:06
Copilot AI requested a review from killme2008 November 4, 2025 09:06
@cloudflare-workers-and-pages
Copy link

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

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7ba39ef
Status: ✅  Deploy successful!
Preview URL: https://d3242adf.greptime-docs.pages.dev
Branch Preview URL: https://copilot-update-docs-format-r.greptime-docs.pages.dev

View logs

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
@killme2008 killme2008 force-pushed the copilot/update-docs-format-regex-function branch from bc4b28e to 7ba39ef Compare November 4, 2025 09:25
@killme2008 killme2008 marked this pull request as ready for review November 4, 2025 09:25
Copy link
Contributor

@killme2008 killme2008 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

@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

@killme2008 killme2008 merged commit 128a8da into main Nov 5, 2025
5 checks passed
@killme2008 killme2008 deleted the copilot/update-docs-format-regex-function branch November 5, 2025 11:37
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: adds format, regex_extract function and more type tests

4 participants