[
https://issues.apache.org/jira/browse/HIVE-24975?focusedWorklogId=650944&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-650944
]
ASF GitHub Bot logged work on HIVE-24975:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 15/Sep/21 06:08
Start Date: 15/Sep/21 06:08
Worklog Time Spent: 10m
Work Description: sourabh912 commented on pull request #2641:
URL: https://github.com/apache/hive/pull/2641#issuecomment-919727850
@kishendas @vihangk1 : I have made a similar fix in Impala
https://github.com/apache/impala/commit/5d307cbb7b2ec3432bebd7759b0bcebf54a6cc22
Please review this and share your feedback.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 650944)
Time Spent: 20m (was: 10m)
> Bug in ValidWriteIdList comparison in TxnIdUtils
> ------------------------------------------------
>
> Key: HIVE-24975
> URL: https://issues.apache.org/jira/browse/HIVE-24975
> Project: Hive
> Issue Type: Bug
> Reporter: Sourabh Goyal
> Assignee: Sourabh Goyal
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> TxnIdUtils's
> [compare|https://github.com/apache/hive/blob/master/storage-api/src/java/org/apache/hive/common/util/TxnIdUtils.java#L38]
> method returns incorrect result for the following validWriteIdLists
> ValidWriteIdList a = new ValidReaderWriteIdList("default.test:1:1:1:");
> ValidWriteIdList b = new
> ValidReaderWriteIdList("default.test:1:9223372036854775807::");
> TxnIdUtils.compare(a, b) returns +1 whereas the expected response is -1 since
> b is more recent.
> cc - [~kishendas] [~vihangk1]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)