[
https://issues.apache.org/jira/browse/HIVE-4214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13744678#comment-13744678
]
Hive QA commented on HIVE-4214:
-------------------------------
{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/12598862/HIVE-4214.patch
{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 2886 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_correlationoptimizer12
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ctas_colname
{noformat}
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/481/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/481/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 failed with: TestsFailedException: 2 tests failed
{noformat}
This message is automatically generated.
> OVER accepts general expression instead of just function
> --------------------------------------------------------
>
> Key: HIVE-4214
> URL: https://issues.apache.org/jira/browse/HIVE-4214
> Project: Hive
> Issue Type: Bug
> Components: PTF-Windowing
> Affects Versions: 0.11.0
> Reporter: Alan Gates
> Assignee: Ashutosh Chauhan
> Attachments: HIVE-4214.1.patch, HIVE-4214.patch
>
>
> The query:
> select s, i, avg(d) / 10.0 over (partition by s order by i) from over100k;
> runs (and produces meaningless output).
> Over should not allow the arithmetic expression. Only a UDAF or PTF function
> should be valid there. The correct way to write this query should be
> select s, i, avg(d) over (partition by s order by i) / 10. 0 from over100k;
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira