Repository: flink Updated Branches: refs/heads/release-1.5 0c06852b3 -> 68814fc14
[hotfix][docs][table] Fix link to registering external catalog This closes #6052. Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/68814fc1 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/68814fc1 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/68814fc1 Branch: refs/heads/release-1.5 Commit: 68814fc142e52bf3a1b7972543abfc125dbbfca0 Parents: 0c06852 Author: blueszheng <[email protected]> Authored: Mon May 21 18:42:45 2018 +0800 Committer: zentol <[email protected]> Committed: Tue May 22 08:46:27 2018 +0200 ---------------------------------------------------------------------- docs/dev/table/sql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/68814fc1/docs/dev/table/sql.md ---------------------------------------------------------------------- diff --git a/docs/dev/table/sql.md b/docs/dev/table/sql.md index 1d96d1f..10941b9 100644 --- a/docs/dev/table/sql.md +++ b/docs/dev/table/sql.md @@ -24,7 +24,7 @@ under the License. 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 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-a-table-in-the-catalog). A table can be registered from a [TableSource](common.html#register-a-tablesource), [Table](common.html#register-a-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), [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. 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.
