[ 
https://issues.apache.org/jira/browse/HIVE-20340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574327#comment-16574327
 ] 

Hive QA commented on HIVE-20340:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12934891/HIVE-20340.2.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 14873 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[char_udf1] (batchId=95)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[infer_join_preds] 
(batchId=25)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[interval_alt] (batchId=4)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[union_offcbo] 
(batchId=48)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[union_remove_22] 
(batchId=82)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_test1]
 (batchId=194)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_udf1]
 (batchId=172)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[union_remove_22] 
(batchId=145)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/13115/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13115/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13115/

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

This message is automatically generated.

ATTACHMENT ID: 12934891 - PreCommit-HIVE-Build

> Druid Needs Explicit CASTs from Timestamp to STRING when the output of 
> timestamp function is used as String
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-20340
>                 URL: https://issues.apache.org/jira/browse/HIVE-20340
>             Project: Hive
>          Issue Type: Bug
>          Components: Druid integration
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>         Attachments: HIVE-20340.1.patch, HIVE-20340.2.patch
>
>
> Druid time expressions return numeric values in form of ms (instead of 
> formatted timestamp). Because of this expressions/function which expects its 
> argument as string type ended up returning different values for time 
> expressions input.
> e.g. 
> {code}
> SELECT SUBSTRING(to_date(datetime0),4) FROM tableau_orc.calcs;
> | 4-07-25  |
> SELECT SUBSTRING(to_date(datetime0),4) FROM druid_tableau.calcs;
> | 0022400000  |
> SELECT CONCAT(to_date(datetime0),' 00:00:00') FROM tableau_orc.calcs;
> | 2004-07-17 00:00:00  |
> SELECT CONCAT(to_date(datetime0),' 00:00:00') FROM druid_tableau.calcs;
> | 1090454400000 00:00:00  |
>  {code}
> Druid needs explicit cast to make this work



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to