You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "huangjiatian (JIRA)" <ji...@apache.org> on 2018/09/28 05:26:00 UTC
[jira] [Created] (CALCITE-2597) RelDataTypeImpl:digest can not describe a type completely.
huangjiatian created CALCITE-2597:
-------------------------------------
Summary: RelDataTypeImpl:digest can not describe a type completely.
Key: CALCITE-2597
URL: https://issues.apache.org/jira/browse/CALCITE-2597
Project: Calcite
Issue Type: Bug
Components: core
Reporter: huangjiatian
Assignee: Julian Hyde
Attachments: image-2018-09-28-13-00-16-440.png, image-2018-09-28-13-11-43-515.png, image-2018-09-28-13-15-19-711.png, image-2018-09-28-13-17-19-369.png
I met a strange question when i use Flink SQL API.
I found two difference type are considered equal.
!image-2018-09-28-13-11-43-515.png!
After debug, i found the hashCode method and equals method in RelRecordType just consider "digest".
!image-2018-09-28-13-15-19-711.png!
But some time, "digest" can not describe a type completely, More information in the "fieldList".
!image-2018-09-28-13-17-19-369.png!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)