You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2024/06/26 11:23:00 UTC
[jira] [Created] (FLINK-35703) Nested comments in CREAT TABLE are lost
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)