[
https://issues.apache.org/jira/browse/HIVE-29155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denys Kuzmenko resolved HIVE-29155.
-----------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
> Improve performance of TestVectorAggregation
> --------------------------------------------
>
> Key: HIVE-29155
> URL: https://issues.apache.org/jira/browse/HIVE-29155
> Project: Hive
> Issue Type: Test
> Components: Hive
> Reporter: Thomas Rebele
> Assignee: Thomas Rebele
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.2.0
>
> Attachments: Hive29155Main.java
>
>
> The method
> org.apache.hadoop.hive.ql.exec.vector.aggregation.TestVectorAggregation#getLinearRandomNumber
> uses a for-loop to calculate a random number with a linear distribution. It
> could be replaced by a calculation that runs in effective constant time.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)