WeiZhong94 commented on a change in pull request #8401: [FLINK-12407][python] 
Add all table operators align Java Table API.
URL: https://github.com/apache/flink/pull/8401#discussion_r283633274
 
 

 ##########
 File path: flink-python/pyflink/table/table.py
 ##########
 @@ -118,3 +463,112 @@ def insert_into(self, table_name):
         :param table_name: Name of the :class:`TableSink` to which the 
:class:`Table` is written.
         """
         self._j_table.insertInto(table_name)
+
+    def __str__(self):
+        return self._j_table.toString()
+
+
+class GroupedTable(object):
+    """
+    A table that has been grouped on a set of grouping keys.
+    """
+
+    def __init__(self, java_table):
+        self._j_table = java_table
 
 Review comment:
   According to the comments of sunjincheng121, I think it is better to keep 
the current name.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to