Dawid Wysakowicz created FLINK-35703:
----------------------------------------

             Summary: Nested comments in CREAT TABLE are lost
                 Key: FLINK-35703
                 URL: https://issues.apache.org/jira/browse/FLINK-35703
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API, Table SQL / Planner
    Affects Versions: 1.19.1
            Reporter: Dawid Wysakowicz


If you run

{code}
CREATE TABLE cat.db.src (i ROW<`f0` INT 'comment'>)
{code}

The resulting {{CreateTableOperation}} won't have the {{'comment'}}.

When converting from {{SqlNode}} to {{LogicalType}} we go through a 
{{RelDataType}} which does not have the nested comment. This happens in 
{{MergeTableLikeUtils}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to