You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/07/19 11:20:02 UTC

[GitHub] [flink] twalthr commented on a change in pull request #9118: [FLINK-13206][sql client]replace `use database xxx` with `use xxx` in sql client parser

twalthr commented on a change in pull request #9118: [FLINK-13206][sql client]replace `use database xxx` with `use xxx` in sql client parser
URL: https://github.com/apache/flink/pull/9118#discussion_r305295384
 
 

 ##########
 File path: docs/dev/table/catalog.md
 ##########
 @@ -63,7 +63,7 @@ select * from mydb2.myTable2
 
 `CatalogManager` always has a built-in `GenericInMemoryCatalog` named `default_catalog`, which has a built-in default database named `default_database`. If no other catalog and database are explicitly set, they will be the current catalog and current database by default. All temp meta-objects, such as those defined by `TableEnvironment#registerTable`  are registered to this catalog. 
 
-Users can set current catalog and database via `TableEnvironment.useCatalog(...)` and `TableEnvironment.useDatabase(...)` in Table API, or `USE CATALOG ...` and `USE DATABASE ...` in Flink SQL.
+Users can set current catalog and database via `TableEnvironment.useCatalog(...)` and `TableEnvironment.useDatabase(...)` in Table API, or `USE CATALOG ...` and `USE ...` in Flink SQL.
 
 Review comment:
   Can we update this to `in Flink SQL Client` because the SQL API does not support this syntax yet.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services