You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "huangjiatian (JIRA)" <ji...@apache.org> on 2018/09/28 08:33:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16631527#comment-16631527 ] 

huangjiatian commented on CALCITE-2597:
---------------------------------------

Pull requests: https://github.com/apache/calcite/pull/872

> 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
>            Priority: Minor
>         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)