lessonone1 opened a new pull request #13026:
URL: https://github.com/apache/flink/pull/13026
## problem
sql insert into column size not equal to the size defined in DDL
throw exception (Field types of query result and registered TableSink)
FOR EXAMPLE:
DDL student (id, name, age)
DDL stuout(id, name, age)
insert into stuout( name, age ) select name, age from student ;
throw ValidationException: Field types of query result and registered
TableSink
for jdbc catalog or self defined catalog that get ddl from database meta it
is a problem
## how to solve
use insert into column to rebuild TableSchema before create TableSink
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]