Hive QA commented on HIVE-22508:

Here are the results of testing the latest attachment:

{color:green}SUCCESS:{color} +1 due to 3 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 17772 tests 
*Failed tests:*
org.apache.hadoop.hive.ql.TestMTQueries.testMTQueries1 (batchId=276)

Test results: 
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19716/console
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed

This message is automatically generated.

ATTACHMENT ID: 12987345 - PreCommit-HIVE-Build

> KeyWrapperComparator throws exception
> -------------------------------------
>                 Key: HIVE-22508
>                 URL: https://issues.apache.org/jira/browse/HIVE-22508
>             Project: Hive
>          Issue Type: Bug
>          Components: Physical Optimizer
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>             Fix For: 4.0.0
>         Attachments: HIVE-22508.1.patch
> TopNKeyOperator.KeyWrapperComparator throws exception when a new key and a 
> copied key should be compared.
> The current implementation uses the standard object inspectors for all 
> KeyWrapper instances. However when comparing untouched KeyWrappers the key 
> object inspector should be used which can be extracted form 
> Operator.inputObjectInspectors during initialization of the key's 
> ExprNodeEvaluator. 
> This can cause a ClassCastException when the comparator is used collections 
> like TreeSet.

This message was sent by Atlassian Jira

Reply via email to