[ 
https://issues.apache.org/jira/browse/HIVE-17041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616976#comment-16616976
 ] 

Hive QA commented on HIVE-17041:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12939908/HIVE-17041.1.patch

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

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 14964 tests 
executed
*Failed tests:*
{noformat}
TestMiniDruidCliDriver - did not produce a TEST-*.xml file (likely timed out) 
(batchId=194)
        
[druidmini_masking.q,druidmini_test1.q,druidkafkamini_basic.q,druidmini_joins.q,druid_timestamptz.q]
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/13846/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13846/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13846/

Messages:
{noformat}
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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12939908 - PreCommit-HIVE-Build

> Aggregate elimination with UNIQUE and NOT NULL column
> -----------------------------------------------------
>
>                 Key: HIVE-17041
>                 URL: https://issues.apache.org/jira/browse/HIVE-17041
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Logical Optimizer
>    Affects Versions: 3.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Vineet Garg
>            Priority: Major
>         Attachments: HIVE-17041.1.patch
>
>
> If columns are part of a GROUP BY expression and they are UNIQUE and do not 
> accept NULL values, i.e. PK or UK+NOTNULL, the _Aggregate_ operator can be 
> transformed into a Project operator, as each row will end up in a different 
> group.
> For instance, given that _pk_ is the PRIMARY KEY for the table, the GROUP BY 
> could be removed from grouping columns for following query:
> {code:sql}
> SELECT pk, value1
> FROM table_1
> GROUP BY value1, pk, value2;
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to