hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-19993) Using a table alias which also appears as a column name is not possible
Date Fri, 24 Aug 2018 23:44:00 GMT


Hive QA commented on HIVE-19993:

Here are the results of testing the latest attachment:

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

{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 14897 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_expressions] (batchId=193)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_test1] (batchId=193)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_test_alter] (batchId=193)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_test_insert] (batchId=193)

Test results:
Console output:
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: 7 tests failed

This message is automatically generated.

ATTACHMENT ID: 12937045 - PreCommit-HIVE-Build

> Using a table alias which also appears as a column name is not possible
> -----------------------------------------------------------------------
>                 Key: HIVE-19993
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Jaume M
>            Priority: Major
>         Attachments: HIVE-19993.1.patch, HIVE-19993.2.patch
> {code}
> drop table if exists tableA;
> drop table if exists tableB;
> create table tableA (a integer,z integer);
> create table tableB (a integer,b integer,z integer);
> select a.z, b.b 
> from tableB as b JOIN 
> tableA as a
> on a.a=b.b;
> {code}
> {code}
> Error: Error while compiling statement: FAILED: SemanticException Column a Found in more
than One Tables/Subqueries (state=42000,code=40000)
> {code}

This message was sent by Atlassian JIRA

View raw message