[ https://issues.apache.org/jira/browse/HIVE-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944707#comment-13944707 ]
Hive QA commented on HIVE-6708: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12636090/HIVE-6708.2.patch {color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 5444 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vector_decimal_expressions org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_bucketmapjoin6 org.apache.hadoop.hive.ql.exec.vector.TestVectorizationContext.testIfConditionalExprs org.apache.hive.service.cli.thrift.TestThriftBinaryCLIService.testExecuteStatementAsync {noformat} Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1936/testReport Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1936/console Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 4 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12636090 > ConstantVectorExpression should create copies of data objects rather than > referencing them > ------------------------------------------------------------------------------------------ > > Key: HIVE-6708 > URL: https://issues.apache.org/jira/browse/HIVE-6708 > Project: Hive > Issue Type: Bug > Reporter: Hari Sankar Sivarama Subramaniyan > Assignee: Hari Sankar Sivarama Subramaniyan > Attachments: HIVE-6708-1.patch, HIVE-6708.2.patch > > > 1. ConstantVectorExpression vector should be updated for bytecolumnvectors > and decimalColumnVectors. The current code changes the reference to the > vector which might be shared across multiple columns > 2. VectorizationContext.foldConstantsForUnaryExpression(ExprNodeDesc > exprDesc) has a minor bug as to when to constant fold the expression. > The following code should replace the corresponding piece of code in the > trunk. > .. > GenericUDF gudf = ((ExprNodeGenericFuncDesc) exprDesc).getGenericUDF(); > if (gudf instanceof GenericUDFOPNegative || gudf instanceof > GenericUDFOPPositive > || castExpressionUdfs.contains(gudf.getClass()) > ... -- This message was sent by Atlassian JIRA (v6.2#6252)