hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-18254) Use proper AVG Calcite primitive instead of Other_FUNCTION
Date Sat, 09 Dec 2017 01:39:00 GMT


Hive QA commented on HIVE-18254:

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 11516 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[fp_literal_arithmetic] (batchId=68)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[llap_acid_fast] (batchId=160)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sysdb] (batchId=160)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_multi] (batchId=113)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testConstraints (batchId=226)

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: 8 tests failed

This message is automatically generated.

ATTACHMENT ID: 12901256 - PreCommit-HIVE-Build

> Use proper AVG Calcite primitive instead of Other_FUNCTION
> ----------------------------------------------------------
>                 Key: HIVE-18254
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>            Reporter: slim bouguerra
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-18254.patch
> Currently Hive-Calcite operator tree treats AVG function as an unknown function that
has a Calcite Sql Kind of Other_FUNCTION. This is an issue that can get into the way of rules
like {{org.apache.calcite.rel.rules.AggregateReduceFunctionsRule}}.
> This patch adds the avg function to the list of known aggregate function.

This message was sent by Atlassian JIRA

View raw message