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

Give nested data type of ROWs in ValidationException

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      In 

      INSERT INTO baz_sink
      SELECT
        a,
        ROW(b, c)
      FROM foo_source

      Schema mismatch mistakes will not get proper detail level, yielding the following:

      Caused by: org.apache.flink.table.api.ValidationException: Field types of query result and registered TableSink [baz_sink] do not match.
      Query result schema: [a: Integer, EXPR$2: Row]
      TableSink schema: [a: Integer, payload: Row]

      Leaving the user with an opaque 'Row' type to debug.

       

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              ayushtkn Ayush Saxena
              Reporter:
              BenoitParis Benoît Paris

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                  Issue deployment