You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Nick Allen (JIRA)" <ji...@apache.org> on 2017/08/17 23:54:00 UTC
[jira] [Created] (METRON-1119) Bad Out-of-order Logic for
SaltyRowKeyBuilder
Nick Allen created METRON-1119:
----------------------------------
Summary: Bad Out-of-order Logic for SaltyRowKeyBuilder
Key: METRON-1119
URL: https://issues.apache.org/jira/browse/METRON-1119
Project: Metron
Issue Type: Bug
Affects Versions: 0.4.0
Reporter: Nick Allen
Assignee: Nick Allen
Fix For: 0.4.1
This is a bug that was previously Identified by [~mattf].
https://github.com/apache/metron/pull/622#pullrequestreview-51351898
The 'out-of-order' logic for the SaltyRowKeyBuilder.encode function does not work.
bq. If it starts out in the wrong order, say end is 1 and start is 5, won't this pair of statements result in both end and start being equal to the larger, ie 5 ? We need an intermediate variable for a binary swap!
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)