osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-10290) Conversion error in StreamScan and BatchScan


wangsan created FLINK-10290:
-------------------------------

             Summary: Conversion error in StreamScan and BatchScan
                 Key: FLINK-10290
                 URL: https://issues.apache.org/jira/browse/FLINK-10290
             Project: Flink
          Issue Type: Bug
          Components: Table API & SQL
    Affects Versions: 1.6.0, 1.5.3
            Reporter: wangsan


`RowTypeInfo#equals()` only compares field types, and fields names are not considered. When checking the equality of `inputType` and `internalType`, we should compare both filed types and field names.

Behavior of this bug:

A table T with schema (a: Long, b:Long, c:Long)
SELECT b,c,a from T
expected: b,c,a
actually: a,b,c





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)