mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
29 lines
1.5 KiB
Markdown
29 lines
1.5 KiB
Markdown
---
|
|
slug: /zh/operations/system-tables/licenses
|
|
---
|
|
# 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 │
|
|
│ brotli │ MIT │ /contrib/brotli/LICENSE │
|
|
│ [...] │ [...] │ [...] │
|
|
└────────────────────┴──────────────┴─────────────────────────────────────┘
|
|
```
|