hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12744) GROUPING__ID failed to be recognized in multiple insert
Date Tue, 29 Dec 2015 05:29:49 GMT

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

Hive QA commented on HIVE-12744:
--------------------------------



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

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

{color:red}ERROR:{color} -1 due to 17 failed/errored test(s), 9994 tests executed
*Failed tests:*
{noformat}
TestHWISessionManager - did not produce a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_order2
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_dynamic
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_uri_import
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_columnstats_partlvl_multiple_part_clause
org.apache.hadoop.hive.ql.exec.spark.session.TestSparkSessionManagerImpl.testMultiSessionMultipleUse
org.apache.hadoop.hive.ql.exec.spark.session.TestSparkSessionManagerImpl.testSingleSessionMultipleUse
org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveOperationType.checkHiveOperationTypeMatch
org.apache.hive.jdbc.TestSSL.testSSLVersion
org.apache.hive.spark.client.TestSparkClient.testAddJarsAndFiles
org.apache.hive.spark.client.TestSparkClient.testCounters
org.apache.hive.spark.client.TestSparkClient.testErrorJob
org.apache.hive.spark.client.TestSparkClient.testJobSubmission
org.apache.hive.spark.client.TestSparkClient.testMetricsCollection
org.apache.hive.spark.client.TestSparkClient.testRemoteClient
org.apache.hive.spark.client.TestSparkClient.testSimpleSparkJob
org.apache.hive.spark.client.TestSparkClient.testSyncRpc
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/6491/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/6491/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-6491/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
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: 17 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12779706 - PreCommit-HIVE-TRUNK-Build

> GROUPING__ID failed to be recognized in multiple insert
> -------------------------------------------------------
>
>                 Key: HIVE-12744
>                 URL: https://issues.apache.org/jira/browse/HIVE-12744
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 1.2.1
>         Environment: apache hive 1.2.1
> apache hadoop 2.6.2
>            Reporter: Jay Lee
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-12744.01.patch
>
>
> When using multiple insert with multiple group by, grouping__id will failed to be parse.
> hive> create temporary table testtable3 (id string, name string);
> OK
> Time taken: 1.019 seconds
> hive> create temporary table testtable2 (id string, name string);
> OK
> Time taken: 0.069 seconds
> hive> create temporary table testtable1 (id string, name string);
> OK
> Time taken: 0.066 seconds
> hive> insert into table testtable1 values ("id", "2333");
> ...
> OK
> Time taken: 32.515 seconds
> hive> from testtable1
>     > insert into table testtable2 select
>     >     id, GROUPING__ID
>     > group by id, name with cube;
> ...
> OK
> Time taken: 42.032 seconds
> hive> from testtable1
>     > insert into table testtable2 select
>     >     id, GROUPING__ID
>     > group by id, name with cube
>     > insert into table testtable3 select
>     >     id, name
>     > group by id, name grouping sets ((id), (id, name));
> FAILED: SemanticException [Error 10025]: Line 3:8 Expression not in GROUP BY key 'GROUPING__ID'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message