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

Give nested data type of ROWs in ValidationException

    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

              ayushtkn Ayush Saxena
              BenoitParis Benoît Paris
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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