autophagy commented on code in PR #26121:
URL: https://github.com/apache/flink/pull/26121#discussion_r1954107184
##########
flink-python/pyflink/table/catalog.py:
##########
@@ -1391,3 +1398,422 @@ def of(catalog_name: str, configuration: Configuration,
comment: str = None):
j_catalog_descriptor =
gateway.jvm.org.apache.flink.table.catalog.CatalogDescriptor.of(
catalog_name, configuration._j_configuration, comment)
return CatalogDescriptor(j_catalog_descriptor)
+
+
+class Column(metaclass=ABCMeta):
+ """
+ Representation of a column in a :class:`~pyflink.table.ResolvedSchema`.
+
+ A table column describes either a :class:`PhysicalColumn`,
:class:`ComputedColumn`, or
+ :class:`MetadataColumn`.
+
+ Every column is fully resolved. The enclosed
:class:`~pyflink.table.types.DataType`
Review Comment:
I don't believe so, no - the column is just used within resolved schemas, so
the column would be resolved as well. I'm pretty new to this API, what would
you suggest in terms of simplification?
--
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]