# JSON 类型提示 & 远程动态 Filter 下推｜Greptime 月度精选 - No. 85

Source: https://greptime.cn/blogs/2026-06-30-greptimedb-monthly-report

## 内容概述

*2026 年 6 月 · 2026-06-01 – 2026-06-30*

从本期（第 85 期）起，双周报改为月度更新。

本月主要更新：

- 查询时，远端动态 filter 会将过滤条件下推到数据节点扫描层。
- Optimizer 规则现在在 `MergeScan` 封装远端计划之前执行，过滤条件得以下推到 datanode 扫描并参与裁剪。
- JSON 列支持通过类型提示控制值的解析和存储方式。

本月 GreptimeDB 发布了 [v1.1.1](https://github.com/GreptimeTeam/greptimedb/releases/tag/v1.1.1)。还在用旧版本？[建议升级到最新 release](https://github.com/GreptimeTeam/greptimedb/releases/latest)。

## 贡献者

过去一个月，共有 **22 位贡献者**合并了 **131 个 PR**。 其中 **8 位独立贡献者**贡献了 **10 个 PR**。
欢迎新贡献者：**[@raphaelroshan](https://github.com/raphaelroshan)**、**[@agrawalx](https://github.com/agrawalx)**、**[@RitwijParmar](https://github.com/RitwijParmar)**！

感谢本月提交代码的社区贡献者：

- **[@agrawalx](https://github.com/agrawalx)** *[db#8321](https://github.com/GreptimeTeam/greptimedb/pull/8321)*
- **[@QuakeWang](https://github.com/QuakeWang)** *[db#8233](https://github.com/GreptimeTeam/greptimedb/pull/8233)* *[db#8198](https://github.com/GreptimeTeam/greptimedb/pull/8198)*
- **[@lyang24](https://github.com/lyang24)** *[db#8254](https://github.com/GreptimeTeam/greptimedb/pull/8254)*

## PR 亮点

### [db#8298](https://github.com/GreptimeTeam/greptimedb/pull/8298) fix: improve Grafana metrics dashboards

集群和单机部署的 Grafana 面板已修复 histogram bucket 查询和 counter rate 归一化问题，trigger 面板的 datasource 引用也一并修正。请求延迟面板拆分为独立视图，排查问题更方便。

### [db#8247](https://github.com/GreptimeTeam/greptimedb/pull/8247) feat(json2): type hint

建表时可以为 `JSON2` 列声明类型提示，直接在列定义里指定路径，例如 `"user"."age" BIGINT NOT NULL DEFAULT 18`。写入 `JSON2` 列时，会遵循这些声明的类型和默认值。

### [db#8262](https://github.com/GreptimeTeam/greptimedb/pull/8262) & [db#8148](https://github.com/GreptimeTeam/greptimedb/pull/8148) feat: 远端动态 filter 端到端打通

Remote Dynamic Filters (RDF) 现在可以跨节点工作。前端在查询规划阶段为 `MergeScan` producer 分配稳定的 `FilterId`，并将初始注册记录分发到各 datanode（db#8148）；查询执行时，hash join 等算子产生的过滤条件会下推到 datanode 的 `RegionScanExec`（db#8262），数据节点得以提前裁剪数据，无需等待完整查询计划执行完毕。

### [db#8339](https://github.com/GreptimeTeam/greptimedb/pull/8339) fix(query): run optimizer rules before MergeScan

分布式查询中，`LEFT JOIN` 或子查询的过滤条件之前无法下推到远端的 `TableScan.filters`——`MergeScan` 会把远端执行计划对 DataFusion 优化器屏蔽掉。现在在 `MergeScan` 封装远端输入之前，会先单独跑一遍 `PushDownFilter` 及相关规则，过滤条件得以下推到 datanode，Region 裁剪正常生效。

## 生态更新

### TypeScript Ingester

本月发布 2 个版本（[v0.2.1](https://github.com/GreptimeTeam/greptimedb-ingester-ts/releases/tag/v0.2.1)、[v0.2.0](https://github.com/GreptimeTeam/greptimedb-ingester-ts/releases/tag/v0.2.0)）。

- 新增可插拔的 `EndpointSelector` 接口，支持多端点 failover。
- `Decimal128` 数据类型现在支持写入。
- 客户端超时不再触发多余的 endpoint 重试或剔除。

### .NET Ingester

本月发布 1 个版本（[v0.2.1](https://github.com/GreptimeTeam/greptimedb-ingester-dotnet/releases/tag/v0.2.1)）。

- `GreptimeClientOptions.Failover` 新增请求级别的 endpoint 重试，覆盖 unary 写入和删除操作。
- 故障端点按指数退避策略摘除，并通过 `FailoverOptions` 参数自动恢复。
- `GreptimeServerException` 现在会暴露服务端状态码，调用方可以据此判断错误是否可重试。

### Dashboard

本月发布 3 个版本（[v0.13.6](https://github.com/GreptimeTeam/dashboard/releases/tag/v0.13.6)、[v0.13.1](https://github.com/GreptimeTeam/dashboard/releases/tag/v0.13.1)、[v0.13.0](https://github.com/GreptimeTeam/dashboard/releases/tag/v0.13.0)）。

- 重构了配置与状态管理，连接配置与 UI 偏好分开持久化，状态更可靠。
- 主界面新增深色主题。
- 指标视图界面视觉优化，并修复光标在 SQL 末尾时编辑器无法正确选中该 SQL 的问题。

### MCP Server

本月发布 2 个版本（[v0.5.1](https://github.com/GreptimeTeam/greptimedb-mcp-server/releases/tag/v0.5.1)、[v0.5.0](https://github.com/GreptimeTeam/greptimedb-mcp-server/releases/tag/v0.5.0)）。

- Prompt 模板改用沙箱化的 Jinja 渲染，模板执行更安全。
- `describe_table` 现在返回更完整的表画像——[语义元数据](https://docs.greptime.cn/user-guide/concepts/semantic-layer/)、最新样本数据、查询建议和字段注释，AI agent 一次调用即可掌握全貌。
- `explain_query` 新增可选的 verbose 模式，可查看扫描级别的 metrics。

## Good First Issues

第一次给 GreptimeDB 提 PR？下面这些适合上手。想认领直接在 issue 下留言即可。

### [Issue#7314](https://github.com/GreptimeTeam/greptimedb/issues/7314) Feature Request: Add built-in daemon mode to keep GreptimeDB running independently of shell sessions

在 standalone 模式的 CLI 中添加 `--daemon`（或 `-d`）标志，使进程脱离当前 shell 会话、在后台运行，需包含 PID 管理和 stdout/stderr 重定向。

关键词：CLI, Daemon/Process Management

难度：Medium

### [Issue#7987](https://github.com/GreptimeTeam/greptimedb/issues/7987) feat: add flow_statistics system table and SHOW FLOW STATUS for flow runtime observability

新增 `flow_statistics` 系统表和 `SHOW FLOW STATUS` SQL 命令，暴露每个 flow 的运行时数据，包括启动时间、运行时长、已处理数据量及近期错误信息。

关键词：SQL, Observability, System Tables

难度：Medium

## 参与社区

- 文档：https://docs.greptime.cn
- GitHub：https://github.com/GreptimeTeam/greptimedb
- X：https://x.com/Greptime

有问题、bug 或想法都欢迎反馈，提个 issue 或到社区群里聊都行。
