Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2597

RelDataTypeImpl: digest can not describe a type completely

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • core

    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".

      But some time, "digest" can not describe a type completely, More information in the "fieldList".

      Attachments

        1. image-2018-09-28-13-00-16-440.png
          615 kB
          huangjiatian
        2. image-2018-09-28-13-11-43-515.png
          617 kB
          huangjiatian
        3. image-2018-09-28-13-15-19-711.png
          28 kB
          huangjiatian
        4. image-2018-09-28-13-17-19-369.png
          133 kB
          huangjiatian

        Issue Links

          Activity

            People

              Unassigned Unassigned
              huangjiatian huangjiatian
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: