Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-28255

HASH(realvalue) implemented as HASH((integer)realvalue)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Code Generator
    • None

    Description

      Currently real values are converted to integers before hashing.  This is unlikely to cause bugs, but it may well cause inefficiencies - because records are grouped together that into clumps.

      It cannot really be fixed because it would create too many backward compatibility problems, but creating a Jira so that the behaviour is documented.

      The workaround is to type transfer the value to DATA before hashing.

      i.e.

       

      HASH((>DATA<)realvalue)
      

      which will prevent the conversion.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ghalliday Gavin Halliday
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: