You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Sourabh Goyal (Jira)" <ji...@apache.org> on 2021/04/05 17:01:00 UTC

[jira] [Created] (IMPALA-10637) Bug in ValidWriteIdList comparison in AcidUtils

Sourabh Goyal created IMPALA-10637:
--------------------------------------

             Summary: Bug in ValidWriteIdList comparison in AcidUtils
                 Key: IMPALA-10637
                 URL: https://issues.apache.org/jira/browse/IMPALA-10637
             Project: IMPALA
          Issue Type: Bug
          Components: Catalog
            Reporter: Sourabh Goyal


There is a bug in [this|https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/util/AcidUtils.java#L752] line of code in AcidUtils.java. 


Example scenario: 

For validWriteIdLists: 

ValidWriteIdList a = new ValidReaderWriteIdList("default.test:1:1:1:");
ValidWriteIdList b = new ValidReaderWriteIdList("default.test:1:9223372036854775807::");

AcidUtils.compare(a, b) currently returns 1 whereas the expected answer is -1.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org