# 社区贡献者多样性增加！慢查询终止、元数据修复与 Pipeline 配置文档 v2｜Greptime 双周精选

Source: https://greptime.cn/blogs/2025-06-25-biweekly-report-greptimedb

## 内容概述
作为一个成长中的开源项目，GreptimeDB 的进展离不开来自全球的社区贡献者们，感谢各位！

最近的更新内容如下：

- **新增 Process Management 功能**：用户可以追踪当前运行的查询请求并手动终止运行过长的查询
- **引入可以修复逻辑表元数据的命令行工具**：增加一个新的命令行工具用以修复逻辑表元数据

## 社区贡献者名单

在过去的两周里，GreptimeDB 共合并了 **123 个 PR**，其中有 **5 位独立贡献者**，累计 **5 个 PR** 被成功合并，还有很多待合并的 PR 。

祝贺以下各位在过去 2 周内成为我们最突出的贡献者：
 
> 注：按照 GitHub 用户名首字母顺序排列
> - @**[Arshdeep54](https://github.com/Arshdeep54)** *[db#6300](https://github.com/GreptimeTeam/greptimedb/pull/6300)*
> - @**[codephage2020](https://github.com/codephage2020)** *[db#6379](https://github.com/GreptimeTeam/greptimedb/pull/6379)*
> - @**[linyihai](https://github.com/linyihai)** *[db#6290](https://github.com/GreptimeTeam/greptimedb/pull/6290)*
> - @**[Olexandr88](https://github.com/Olexandr88)** *[db#6362](https://github.com/GreptimeTeam/greptimedb/pull/6362)*
> - @**[rgidda](https://github.com/rgidda)** *[db#6358](https://github.com/GreptimeTeam/greptimedb/pull/6358)*

👏 欢迎 @**[Arshdeep54](https://github.com/Arshdeep54)** @**[codephage2020](https://github.com/codephage2020)** @**[Olexandr88](https://github.com/Olexandr88)** @**[rgidda](https://github.com/rgidda)** 作为新的贡献者加入到社区，并成功合并了 PR，还有更多来自其他独立贡献者的 PR 正在等待合并。

<figure>
<img src="/zh/blogs/2025-06-25-biweekly-report-greptimedb/greptimedbcontributors.png" alt="（图 1：GreptimeDB 双周内新增贡献者）" style="width: 80%; margin: 0 auto"/>
<figcaption>（图 1：GreptimeDB 双周内新增贡献者）</figcaption>
</figure>

🎉 衷心感谢我们所有的成员，贡献者和布道师们！是你们的付出让我们的项目得以成功，也是你们让 GreptimeDB 成为一个更优质的产品。让我们一起努力，建立一个更棒的社区！

## PR 亮点

### [db#5865](https://github.com/GreptimeTeam/greptimedb/pull/5865) [db#6309](https://github.com/GreptimeTeam/greptimedb/pull/6309) 实现 Process Manager 和 `information_schema.process_list`

- 引入 Process Manager 模块，用于跟踪当前正在执行的查询任务，提升对系统运行状态的可观察性；

- 在 Process Manager 中新增 `KILL <PROCESS_ID>` 功能，支持用户手动终止指定的查询进程，增强系统控制能力和故障处理效率。

```sql
mysql> select * from information_schema.process_list;
+-----------------------+----------+---------+-----------------------------------------------+---------+---------------------+----------------------------+-----------------+
| id                    | catalog  | schemas | query                                         | client  | frontend            | start_timestamp            | elapsed_time    |
+-----------------------+----------+---------+-----------------------------------------------+---------+---------------------+----------------------------+-----------------+
| 192.168.50.164:4001/1 | greptime | public  | SELECT * FROM my_bench_table                  | unknown | 192.168.50.164:4001 | 2025-06-25 07:56:09.659000 | 00:00:11.468000 |
| 192.168.50.164:4101/0 | greptime | public  | SELECT * FROM information_schema.process_list | unknown | 192.168.50.164:4101 | 2025-06-25 07:56:21.115000 | 00:00:00.012000 |
+-----------------------+----------+---------+-----------------------------------------------+---------+---------------------+----------------------------+-----------------+

mysql> kill '192.168.50.164:4001/1';
Query OK, 1 row affected (0.01 sec)
```

- 同时也支持在 MySQL 客户端中通过 Ctrl+C 终止当前运行的查询：

```sql
mysql> select * from my_bench_table;
^C^C -- query aborted
ERROR 1317 (70100): (Cancelled): Stream has been cancelled
```

### [db#6322 新增用于修复逻辑表元数据的命令行工具 CLI](https://github.com/GreptimeTeam/greptimedb/pull/6322)

引入了一个命令行工具，用户在遇到逻辑表元数据异常或损坏时，能够帮助用户快速修复。

### [db#6360 为 Combine-Transform 引入新的 Pipeline Doc v2](https://github.com/GreptimeTeam/greptimedb/pull/6360) 

正式引入了用于 Combine-Transform 操作的 Pipeline Doc v2，在语义表达、配置灵活性和可扩展性方面均进行了优化，后续能够帮助用户处理更复杂的数据场景。

示例如下：

```yaml
version: 2
processors:
  - date:
    field: input_str
    formats:
      - "%Y-%m-%dT%H:%M:%S%.3fZ"

transform:
  - field: input_str, ts
    type: time
```

## Good First Issue

### [Issue#6334 完善 `KILL` 对 `INSERT INTO SELECT` 查询的支持](https://github.com/GreptimeTeam/greptimedb/pull/6334)

- 关键词：查询引擎

- 难度：中等
