You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2019/02/27 19:59:00 UTC
[jira] [Updated] (CALCITE-2597) RelDataTypeImpl:digest can not describe a type completely.
[ https://issues.apache.org/jira/browse/CALCITE-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Risden updated CALCITE-2597:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Minor
> Labels: pull-request-available
> 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)