Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-35703

Nested comments in CREAT TABLE are lost

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.19.1
    • None
    • None

    Description

      If you run

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

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            dwysakowicz Dawid Wysakowicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: