kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [kylin] cpugputpu opened a new pull request #1133: KYLIN-4397 Use newLinkedHashMap for deterministic order in AssignmentUtil.java
Date Mon, 02 Mar 2020 14:04:21 GMT
cpugputpu opened a new pull request #1133: KYLIN-4397 Use newLinkedHashMap for deterministic
order in AssignmentUtil.java	
URL: https://github.com/apache/kylin/pull/1133
 
 
   This PR aims to solve the issue here: https://issues.apache.org/jira/browse/KYLIN-4397
   
   The fix is to use `newLinkedHashMap` instead of `newHashMap` when initializing a Map. In
this way, the non-deterministic behaviour is eliminated and the test will not suffer from
the failure again. The code will be more stable.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message