[
https://issues.apache.org/jira/browse/HIVE-6687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13943907#comment-13943907
]
Hive QA commented on HIVE-6687:
-------------------------------
{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/12636089/HIVE-6687.3.patch
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 5437 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_print_header
{noformat}
Test results:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1898/testReport
Console output:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1898/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: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12636089
> JDBC ResultSet fails to get value by qualified projection name
> --------------------------------------------------------------
>
> Key: HIVE-6687
> URL: https://issues.apache.org/jira/browse/HIVE-6687
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 0.12.0
> Reporter: Laljo John Pullokkaran
> Assignee: Laljo John Pullokkaran
> Labels: documentation
> Fix For: 0.12.1
>
> Attachments: HIVE-6687.3.patch
>
>
> Getting value from result set using fully qualified name would throw
> exception. Only solution today is to use position of the column as opposed to
> column label.
> {code}
> String sql = "select r1.x, r2.x from r1 join r2 on r1.y=r2.y";
> ResultSet res = stmt.executeQuery(sql);
> res.getInt("r1.x");
> {code}
> res.getInt("r1.x"); would throw exception unknown column even though sql
> specifies it.
> Fix is to fix resultsetschema in semantic analyzer.
--
This message was sent by Atlassian JIRA
(v6.2#6252)