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 2020/08/17 06:04:48 UTC

[GitHub] [flink] dianfu commented on a change in pull request #12770: [FLINK-18200][python] Replace the deprecated interfaces with the new interfaces in the tests and examples

dianfu commented on a change in pull request #12770:
URL: https://github.com/apache/flink/pull/12770#discussion_r471245436



##########
File path: flink-python/pyflink/table/table_environment.py
##########
@@ -1425,7 +1426,7 @@ def _from_elements(self, elements, schema):
         :param elements: The elements to create a table from.
         :return: The result :class:`~pyflink.table.Table`.
         """
-
+        warnings.warn("Deprecated in 1.11.", DeprecationWarning)

Review comment:
       We still don't want to deprecate this method in Python.




----------------------------------------------------------------
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