flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huangjiatian (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-10464) TimeIndicatorRelDataType: digest can not describe a type completely.
Date Wed, 10 Oct 2018 04:50:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-10464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

huangjiatian updated FLINK-10464:
---------------------------------
    Description: 
I met a strange question when i use Flink SQL API.

I found two difference type are considered equal.

 

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!

  was:
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!


> TimeIndicatorRelDataType: digest can not describe a type completely.
> --------------------------------------------------------------------
>
>                 Key: FLINK-10464
>                 URL: https://issues.apache.org/jira/browse/FLINK-10464
>             Project: Flink
>          Issue Type: Bug
>            Reporter: huangjiatian
>            Priority: Minor
>         Attachments: 1.png
>
>
> I met a strange question when i use Flink SQL API.
> I found two difference type are considered equal.
>  
> 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)

Mime
View raw message