[hotfix] [docs] Update deprecated sql() to sqlQuery().

This closes #5818.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/3021c85f
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/3021c85f
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/3021c85f

Branch: refs/heads/release-1.4
Commit: 3021c85f4bd8070406fc4ec18bafb19a6410e335
Parents: 6d47f1c
Author: mayyamus <chillo...@outlook.com>
Authored: Thu Apr 5 09:54:11 2018 +0800
Committer: Fabian Hueske <fhue...@apache.org>
Committed: Thu Apr 5 11:27:48 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/3021c85f/docs/dev/table/sql.md
----------------------------------------------------------------------
diff --git a/docs/dev/table/sql.md b/docs/dev/table/sql.md
index dd6adc1..3a6a5c5 100644
--- a/docs/dev/table/sql.md
+++ b/docs/dev/table/sql.md
@@ -22,7 +22,7 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-SQL queries are specified with the `sql()` 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.
+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.
 

Reply via email to