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

How to filter on a high UNSIGNED8 value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Code Generator
    • Labels:
      None
    • Compatibility:
      Minor

      Description

      I have an ID field in a file that is defined as an UNSIGNED8.
      When I try to filter a high value ID like this:
      OUTPUT(PeopleFile(id=18446714708963644565));
      The compiler warns me: Warning: Condition is always false (8, 30), 1023, and my result is blank, although I can see the value stored in the file.

      What am I missing? How can a filter on a large value? Lower values work OK, and if I cast the ID to a STRING value, it also filters correctly.

      OUTPUT(PeopleFile((STRING)id='18446714708963644565')); //this works
      OUTPUT(PeopleFile(id=187522928604396)); //this works too

      Thanks!

        Attachments

          Activity

            People

            Assignee:
            ghalliday Gavin Halliday
            Reporter:
            bobf2000 Bob Foreman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: