[ https://issues.apache.org/jira/browse/HIVE-19796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16507083#comment-16507083 ]
Hive QA commented on HIVE-19796: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12927078/HIVE-19796.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 14512 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[infer_join_preds] (batchId=25) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/11660/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11660/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11660/ Messages: {noformat} 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12927078 - PreCommit-HIVE-Build > Push Down TRUNC Fn to Druid Storage Handler > ------------------------------------------- > > Key: HIVE-19796 > URL: https://issues.apache.org/jira/browse/HIVE-19796 > Project: Hive > Issue Type: Bug > Components: Druid integration > Reporter: slim bouguerra > Assignee: slim bouguerra > Priority: Major > Attachments: HIVE-19796.patch > > > Push down Queries with TRUNC date function such as > {code} > SELECT SUM((`ssb_druid_100`.`discounted_price` * > `ssb_druid_100`.`net_revenue`)) AS `sum_calculation_4998925219892510720_ok`, > CAST(TRUNC(CAST(`ssb_druid_100`.`__time` AS TIMESTAMP),'MM') AS DATE) AS > `tmn___time_ok` > FROM `druid_ssb`.`ssb_druid_100` `ssb_druid_100` > GROUP BY CAST(TRUNC(CAST(`ssb_druid_100`.`__time` AS TIMESTAMP),'MM') AS DATE) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)