Skip to content

Commit

Permalink
[hotfix] [table] Add Java deprecation annotation to TableEnvironment.…
Browse files Browse the repository at this point in the history
…sql().
  • Loading branch information
fhueske committed Mar 23, 2018
1 parent 2ac3474 commit 7b07fa5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,11 @@ abstract class TableEnvironment(val config: TableConfig) {
* tEnv.sql(s"SELECT * FROM $table")
* }}}
*
* @deprecated Use sqlQuery() instead.
* @param query The SQL query to evaluate.
* @return The result of the query as Table.
*/
@Deprecated
@deprecated("Please use sqlQuery() instead.")
def sql(query: String): Table = {
sqlQuery(query)
Expand Down

0 comments on commit 7b07fa5

Please sign in to comment.