[ https://issues.apache.org/jira/browse/HIVE-20340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574025#comment-16574025 ]
Hive QA commented on HIVE-20340: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12934870/HIVE-20340.1.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 14871 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13108/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13108/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13108/ 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 {noformat} This message is automatically generated. ATTACHMENT ID: 12934870 - 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 > > > 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)