bowenli86 commented on a change in pull request #9163: [FLINK-13086]add Chinese
documentation for catalogs
URL: https://github.com/apache/flink/pull/9163#discussion_r305537544
##########
File path: docs/dev/table/catalog.zh.md
##########
@@ -186,53 +187,57 @@ Currently `HiveCatalog` supports most Flink data types
with the following mappin
| MULTISET | N/A |
-Note that we only cover most commonly used data types for now.
+请注意,我们现在只涵盖最常用的数据类型。
+
+Hive的数据类型中的以下限制会影响Flink和Hive之间的映射:
+
+\* 最小长度 255
-The following limitations in Hive's data types impact the mapping between
Flink and Hive:
+\* 最大长度 65535
-\* maximum length is 255
+## Hive兼容性
-\** maximum length is 65535
+有关Hive兼容性和版本,请参阅 [Hive Compatibility]({{ site.baseurl
}}/dev/batch/hive_compatibility.html)
-Catalog Registration
+目录注册
--------------------
## Register Catalog in Table API
-To register a catalog in Table API, users can create a catalog instance and
register it through `TableEnvironment.registerCatalog(name, catalog)`.
+要在Table
API中注册目录,用户可以创建目录实例并通过`TableEnvironment.registerCatalog(name,catalog)`注册它。
## Register Catalog in SQL CLI
-To use pre-defined catalogs (`GenericInMemoryCatalog` and `HiveCatalog`) in
SQL CLI, please refer to [SQL Clinet]({{ site.baseurl
}}/dev/table/sqlClient.html)
+要在SQL CLI中使用预定义的目录(`GenericInMemoryCatalog`和`HiveCatalog`),请参阅 [SQL Clinet]({{
site.baseurl }}/dev/table/sqlClient.html)
Review comment:
should point to Chinese page of sql client.
```suggestion
要在SQL CLI中使用预定义的目录(`GenericInMemoryCatalog`和`HiveCatalog`),请参阅 [SQL
Clinet]({{ site.baseurl }}/dev/table/sqlClient_zh.html)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services