hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-10085) Lateral view on top of a view throws RuntimeException
Date Fri, 27 Mar 2015 00:19:52 GMT


Hive QA commented on HIVE-10085:

{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 8677 tests executed
*Failed tests:*

Test results:
Console output:
Test logs:

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

This message is automatically generated.

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

> Lateral view on top of a view throws RuntimeException
> -----------------------------------------------------
>                 Key: HIVE-10085
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 1.2.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-10085.patch
> Following the following sqls to create table and view and execute a select statement.
It will throw the runtime exception:
> {noformat}
> FAILED: RuntimeException org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException: "map"
or "list" is expected at function SIZE, but "int" is found
> {noformat}
> {noformat} 
> CREATE TABLE t1( symptom STRING,  pattern ARRAY<INT>,  occurrence INT, index INT);
> SELECT TRIM(pd.symptom) AS symptom, pd.index, pd.pattern, pd.occurrence, pd.occurrence
as cnt from t1 pd;
> SELECT pattern_data.symptom, pattern_data.index, pattern_data.occurrence, pattern_data.cnt,
size(pattern_data.pattern) as pattern_length, pattern.pattern_id
> FROM v1 pattern_data LATERAL VIEW explode(pattern) pattern AS pattern_id;
> {noformat}

This message was sent by Atlassian JIRA

View raw message