BUILD_INFO
The BUILD_INFO
table provides the system build info:
USE INFORMATION_SCHEMA;
SELECT * FROM BUILD_INFO;
The output is as follows:
+------------+------------------------------------------+------------------+-----------+-------------+
| git_branch | git_commit | git_commit_short | git_dirty | pkg_version |
+------------+------------------------------------------+------------------+-----------+-------------+
| main | 92a8e863ded618fe1be93f799360015b4f8f28b6 | 92a8e86 | true | 0.7.1 |
+------------+------------------------------------------+------------------+-----------+-------------+
The columns in the output:
branch
: the build git branch name.git_commit
: the build commit revision.git_commit_short
: the short commit revision.git_dirty
:true
if the build source directory contains uncommitted changes.pkg_version
: the GreptimeDB version.
当前内容版权归 GreptimeDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 GreptimeDB .