[
https://issues.apache.org/jira/browse/FLINK-36266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Nuyanzin resolved FLINK-36266.
-------------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
> Insert into as select * behaves incorrect
> -----------------------------------------
>
> Key: FLINK-36266
> URL: https://issues.apache.org/jira/browse/FLINK-36266
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
>
> For instance if there are 2 tables
> {code:sql}
> t(f0: INT, f1: INT, f2: INT)
> t3(f0: INT, f1: INT, f2: INT)
> t2(f0: INT, f1: INT)
> {code}
> then these queries fail
> {code:sql}
> INSERT INTO t(f0, f1, f2) SELECT * FROM t3;
> INSERT INTO t(f0, f1, f2) SELECT 42, * FROM t2;
> INSERT INTO t(f0, f1, f2) SELECT *, 42 FROM t2;
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)