[jira] [Created] (FLINK-20704) Some rel data type does not implement the digest correctly

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-20704) Some rel data type does not implement the digest correctly

Shang Yuanchun (Jira)
Danny Chen created FLINK-20704:
----------------------------------

             Summary: Some rel data type does not implement the digest correctly
                 Key: FLINK-20704
                 URL: https://issues.apache.org/jira/browse/FLINK-20704
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Legacy Planner
    Affects Versions: 1.11.3, 1.12.0
            Reporter: Danny Chen
             Fix For: 1.12.1


Some of the rel data types for legacy planner:

- {{GenericRelDataType}}
- {{ArrayRelDataType}}
- {{MapRelDataType}}
- {{MultisetRelDataType}}

Does not implement the digest correctly, especially for {{GenericRelDataType}} , the {{RelDataTypeFactory}} caches the type instances based on its digest, a wrong digest impl would mess up the type instance creation, e.g. without this patch, all the {{GenericRelDataType}} instances have same digest `ANY`.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)