From 60357b06605d60be57e4ef639736b7dbfb1ed2e9 Mon Sep 17 00:00:00 2001 From: "bowen.li" Date: Fri, 6 Dec 2019 13:35:35 -0800 Subject: [PATCH] [hotfix][doc] update docs to replace content of external catalog with new catalog api --- docs/dev/table/common.md | 3 ++- docs/dev/table/common.zh.md | 3 ++- docs/dev/table/sql.md | 2 +- docs/dev/table/sql.zh.md | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/dev/table/common.md b/docs/dev/table/common.md index bfd49ebc6a4ee..e07f62aa771b2 100644 --- a/docs/dev/table/common.md +++ b/docs/dev/table/common.md @@ -133,7 +133,8 @@ Create a TableEnvironment The `TableEnvironment` is a central concept of the Table API and SQL integration. It is responsible for: * Registering a `Table` in the internal catalog -* Registering an external catalog +* Registering catalogs +* Loading pluggable modules * Executing SQL queries * Registering a user-defined (scalar, table, or aggregation) function * Converting a `DataStream` or `DataSet` into a `Table` diff --git a/docs/dev/table/common.zh.md b/docs/dev/table/common.zh.md index bfd49ebc6a4ee..e07f62aa771b2 100644 --- a/docs/dev/table/common.zh.md +++ b/docs/dev/table/common.zh.md @@ -133,7 +133,8 @@ Create a TableEnvironment The `TableEnvironment` is a central concept of the Table API and SQL integration. It is responsible for: * Registering a `Table` in the internal catalog -* Registering an external catalog +* Registering catalogs +* Loading pluggable modules * Executing SQL queries * Registering a user-defined (scalar, table, or aggregation) function * Converting a `DataStream` or `DataSet` into a `Table` diff --git a/docs/dev/table/sql.md b/docs/dev/table/sql.md index 1895ba6d71415..55115f2abaac2 100644 --- a/docs/dev/table/sql.md +++ b/docs/dev/table/sql.md @@ -29,7 +29,7 @@ This is a complete list of Data Definition Language (DDL) and Data Manipulation ## Query SQL queries are specified with the `sqlQuery()` method of the `TableEnvironment`. The method returns the result of the SQL query as a `Table`. A `Table` can be used in [subsequent SQL and Table API queries](common.html#mixing-table-api-and-sql), be [converted into a DataSet or DataStream](common.html#integration-with-datastream-and-dataset-api), or [written to a TableSink](common.html#emit-a-table)). SQL and Table API queries can be seamlessly mixed and are holistically optimized and translated into a single program. -In order to access a table in a SQL query, it must be [registered in the TableEnvironment](common.html#register-tables-in-the-catalog). A table can be registered from a [TableSource](common.html#register-a-tablesource), [Table](common.html#register-a-table), [CREATE TABLE statement](#create-table), [DataStream, or DataSet](common.html#register-a-datastream-or-dataset-as-table). Alternatively, users can also [register external catalogs in a TableEnvironment](common.html#register-an-external-catalog) to specify the location of the data sources. +In order to access a table in a SQL query, it must be [registered in the TableEnvironment](common.html#register-tables-in-the-catalog). A table can be registered from a [TableSource](common.html#register-a-tablesource), [Table](common.html#register-a-table), [CREATE TABLE statement](#create-table), [DataStream, or DataSet](common.html#register-a-datastream-or-dataset-as-table). Alternatively, users can also [register catalogs in a TableEnvironment](catalogs.html) to specify the location of the data sources. For convenience `Table.toString()` automatically registers the table under a unique name in its `TableEnvironment` and returns the name. Hence, `Table` objects can be directly inlined into SQL queries (by string concatenation) as shown in the examples below. diff --git a/docs/dev/table/sql.zh.md b/docs/dev/table/sql.zh.md index f40c7066cdc8d..cab13fbd637fc 100644 --- a/docs/dev/table/sql.zh.md +++ b/docs/dev/table/sql.zh.md @@ -29,7 +29,7 @@ This is a complete list of Data Definition Language (DDL) and Data Manipulation ## Query SQL queries are specified with the `sqlQuery()` method of the `TableEnvironment`. The method returns the result of the SQL query as a `Table`. A `Table` can be used in [subsequent SQL and Table API queries](common.html#mixing-table-api-and-sql), be [converted into a DataSet or DataStream](common.html#integration-with-datastream-and-dataset-api), or [written to a TableSink](common.html#emit-a-table)). SQL and Table API queries can be seamlessly mixed and are holistically optimized and translated into a single program. -In order to access a table in a SQL query, it must be [registered in the TableEnvironment](common.html#register-tables-in-the-catalog). A table can be registered from a [TableSource](common.html#register-a-tablesource), [Table](common.html#register-a-table), [CREATE TABLE statement](#create-table), [DataStream, or DataSet](common.html#register-a-datastream-or-dataset-as-table). Alternatively, users can also [register external catalogs in a TableEnvironment](common.html#register-an-external-catalog) to specify the location of the data sources. +In order to access a table in a SQL query, it must be [registered in the TableEnvironment](common.html#register-tables-in-the-catalog). A table can be registered from a [TableSource](common.html#register-a-tablesource), [Table](common.html#register-a-table), [CREATE TABLE statement](#create-table), [DataStream, or DataSet](common.html#register-a-datastream-or-dataset-as-table). Alternatively, users can also [register catalogs in a TableEnvironment](catalog.html) to specify the location of the data sources. For convenience `Table.toString()` automatically registers the table under a unique name in its `TableEnvironment` and returns the name. Hence, `Table` objects can be directly inlined into SQL queries (by string concatenation) as shown in the examples below.