Translate playground.md to Chinese

This commit is contained in:
小蝌蚪 2022-04-30 17:20:15 +08:00 committed by GitHub
parent ceab14b9bb
commit 1dc653f0ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,38 +5,37 @@ sidebar_label: 体验平台
# ClickHouse Playground {#clickhouse-playground} # ClickHouse Playground {#clickhouse-playground}
[ClickHouse Playground](https://play.clickhouse.com/play?user=play) allows people to experiment with ClickHouse by running queries instantly, without setting up their server or cluster. 无需搭建服务或集群,[ClickHouse Playground](https://play.clickhouse.com/play?user=play)允许人们通过执行查询语句立即体验ClickHouse在Playground中我们提供了一些示例数据集。
Several example datasets are available in Playground.
You can make queries to Playground using any HTTP client, for example [curl](https://curl.haxx.se) or [wget](https://www.gnu.org/software/wget/), or set up a connection using [JDBC](../interfaces/jdbc.md) or [ODBC](../interfaces/odbc.md) drivers. More information about software products that support ClickHouse is available [here](../interfaces/index.md). 你可以使用任意HTTP客户端向Playground提交查询语句比如[curl](https://curl.haxx.se)或者[wget](https://www.gnu.org/software/wget/),也可以通过[JDBC](../interfaces/jdbc.md)或者[ODBC](../interfaces/odbc.md)驱动建立连接,更多信息详见[客户端](../interfaces/index.md)。
## Credentials {#credentials} ## 使用凭证 {#credentials}
| Parameter | Value | | 参数 | 值 |
|:--------------------|:-----------------------------------| |:--------------------|:-----------------------------------|
| HTTPS endpoint | `https://play.clickhouse.com:443/` | | HTTPS连接地址 | `https://play.clickhouse.com:443/` |
| Native TCP endpoint | `play.clickhouse.com:9440` | | 原生TCP连接地址 | `play.clickhouse.com:9440` |
| User | `explorer` or `play` | | 用户名 | `explorer`或者`play` |
| Password | (empty) | | 密码 | (空) |
## Limitations {#limitations} ## 限制 {#limitations}
The queries are executed as a read-only user. It implies some limitations: 所有查询语句都会视为一个具有只读权限用户的操作,这意味着存在如下一些限制:
- DDL queries are not allowed - 不允许执行DDL语句
- INSERT queries are not allowed - 不允许执行INSERT语句
The service also have quotas on its usage. 此外Playground服务对资源使用也有限制。
## Examples {#examples} ## 示例 {#examples}
HTTPS endpoint example with `curl`: 使用`curl`命令:
``` bash ``` bash
curl "https://play.clickhouse.com/?user=explorer" --data-binary "SELECT 'Play ClickHouse'" curl "https://play.clickhouse.com/?user=explorer" --data-binary "SELECT 'Play ClickHouse'"
``` ```
TCP endpoint example with [CLI](../interfaces/cli.md): 使用[命令行客户端](../interfaces/cli.md)
``` bash ``` bash
clickhouse client --secure --host play.clickhouse.com --user explorer clickhouse client --secure --host play.clickhouse.com --user explorer