Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.9.1, 1.10.0, 1.11.0
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
- is related to
-
FLINK-15546 Obscure error message from ScalarOperatorGens::generateCast
- Resolved
- links to