ClickHouse/docs/zh/operations/system-tables/licenses.md

29 lines
1.5 KiB
Markdown
Raw Normal View History

2022-08-26 19:07:59 +00:00
---
slug: /zh/operations/system-tables/licenses
---
2021-10-27 02:10:33 +00:00
# system.licenses {#system-tables_system.licenses}
包含位于 ClickHouse 源的 [contrib](https://github.com/ClickHouse/ClickHouse/tree/master/contrib) 目录中的第三方库的许可证.
列信息:
- `library_name` ([String](../../sql-reference/data-types/string.md)) — 库的名称, 它是与之连接的许可证.
- `license_type` ([String](../../sql-reference/data-types/string.md)) — 许可类型-例如Apache, MIT.
- `license_path` ([String](../../sql-reference/data-types/string.md)) — 带有许可文本的文件的路径.
- `license_text` ([String](../../sql-reference/data-types/string.md)) — 许可协议文本.
**示例**
``` sql
SELECT library_name, license_type, license_path FROM system.licenses LIMIT 15
```
``` text
┌─library_name───────┬─license_type─┬─license_path────────────────────────┐
│ aws-c-common │ Apache │ /contrib/aws-c-common/LICENSE │
│ base64 │ BSD 2-clause │ /contrib/aklomp-base64/LICENSE │
2021-10-27 02:10:33 +00:00
│ brotli │ MIT │ /contrib/brotli/LICENSE │
2023-09-07 09:50:49 +00:00
│ [...] │ [...] │ [...] │
2021-10-27 02:10:33 +00:00
└────────────────────┴──────────────┴─────────────────────────────────────┘
```