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

Results inconsistent while using UTF-8 comparison

    Details

      Description

      spray_cleaned2 := join(incoming,spray_cleaned2 := join(incoming,                        lookups,                            trim(left.username[std.uni.find(left.username,u8'@',1)+1..]) = trim(right.username), transform({utf8 username,  boolean is_user_internal,  utf8 domainonly,  utf8 leftusername,  utf8 rightusername}, self.is_user_internal := if(trim(left.username[std.uni.find(left.username,u8'@', 1)+1..]) = trim(right.username), true, false);                                self.domainonly := left.username[std.uni.find(left.username,u8'@', 1)+1..]; self.rightusername := right.username; self.leftusername := left.username; self := left; ), left outer, lookup);

       

      Issue I believe is on the "Bold" faced IF 

      Works when this assignment self.rightusername := right.username is changed to
      self.rightusername := trim(right.username);;

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              rnagarajan Raju
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: