twalthr commented on code in PR #26121:
URL: https://github.com/apache/flink/pull/26121#discussion_r1975205782


##########
flink-python/pyflink/table/table_result.py:
##########
@@ -140,9 +141,80 @@ def get_table_schema(self) -> TableSchema:
         :rtype: pyflink.table.TableSchema
 
         .. versionadded:: 1.11.0
+        .. deprecated:: 2.1.0
+           Use :func:`TableResult.get_resolved_schema` instead.
         """
         return TableSchema(j_table_schema=self._get_java_table_schema())
 
+    def get_resolved_schema(self) -> ResolvedSchema:
+        """
+        Get the resolved schema of result.
+
+        The schema of DDL, USE, EXPLAIN:

Review Comment:
   Nvm it seems I checked the wrong class. Not sure if this doc is really 
useful. It will always be incomplete and not covering all cases. I think we can 
remove it also in Java.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to