hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15863) Calendar inside DATE, TIME and TIMESTAMP literals for Calcite should have UTC timezone
Date Thu, 09 Feb 2017 20:31:41 GMT

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

Hive QA commented on HIVE-15863:
--------------------------------



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

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

{color:red}ERROR:{color} -1 due to 11 failed/errored test(s), 10242 tests executed
*Failed tests:*
{noformat}
TestDerbyConnector - did not produce a TEST-*.xml file (likely timed out) (batchId=235)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[date_1] (batchId=73)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[date_udf] (batchId=29)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[interval_alt] (batchId=3)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[json_serde1] (batchId=32)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[partition_date] (batchId=13)
org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver[encryption_join_with_different_encryption_keys]
(batchId=159)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=223)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[date_udf] (batchId=109)
org.apache.hive.jdbc.TestJdbcDriver2.testPrepareStatement (batchId=215)
org.apache.hive.jdbc.TestMultiSessionsHS2WithLocalClusterSpark.testSparkQuery (batchId=217)
{noformat}

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

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 11 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12851929 - PreCommit-HIVE-Build

> Calendar inside DATE, TIME and TIMESTAMP literals for Calcite should have UTC timezone
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-15863
>                 URL: https://issues.apache.org/jira/browse/HIVE-15863
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>    Affects Versions: 2.2.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-15863.patch
>
>
> Related to CALCITE-1623.
> At query preparation time, Calcite uses a Calendar to hold the value of DATE, TIME, TIMESTAMP
literals. It assumes that Calendar has a UTC (GMT) time zone, and bad things might happen
if it does not. Currently, we pass the Calendar object with user timezone from Hive. We need
to pass it with UTC timezone and make the inverse conversion when we go back from Calcite
to Hive.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message