Martijn Visser created FLINK-41525:
--------------------------------------

             Summary: Target column indices are -1 for a column list in a 
different case on a case-insensitive planner
                 Key: FLINK-41525
                 URL: https://issues.apache.org/jira/browse/FLINK-41525
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
            Reporter: Martijn Visser


SqlNodeToOperationConversion#getTargetColumnIndices resolves the column list of 
an INSERT with a case-sensitive indexOf on the schema's column names. With a 
case-insensitive parser config, INSERT INTO sink (B, A) SELECT b, a FROM src 
passes validation, but the sink receives [[-1], [-1]] as target columns, 
visible in the plan as targetColumns=[[-1],[-1]]. 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to