BUILD_INFO
BUILD_INFO
表提供了系统的构建信息:
USE INFORMATION_SCHEMA;
SELECT * FROM BUILD_INFO;
结果如下:
+------------+------------------------------------------+------------------+-----------+-------------+
| git_branch | git_commit | git_commit_short | git_dirty | pkg_version |
+------------+------------------------------------------+------------------+-----------+-------------+
| main | 92a8e863ded618fe1be93f799360015b4f8f28b6 | 92a8e86 | true | 0.7.1 |
+------------+------------------------------------------+------------------+-----------+-------------+
结果中的列:
branch
:构建的 git 分支名称。git_commit
:提交构建的commit
。git_commit_short
:提交构建的commit
缩写。git_dirty
:如果构建源目录包含未提交的更改,则为true
。pkg_version
:GreptimeDB 版本。
当前内容版权归 GreptimeDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 GreptimeDB .