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-15552) unable to coalesce DATE and TIMESTAMP types
Date Wed, 01 Nov 2017 18:17:00 GMT

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

Hive QA commented on HIVE-15552:
--------------------------------



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

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

{color:red}ERROR:{color} -1 due to 32 failed/errored test(s), 11350 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestAccumuloCliDriver.testCliDriver[accumulo_queries] (batchId=235)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[input8] (batchId=8)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[insert_values_orig_table_use_metadata]
(batchId=62)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[join_cond_pushdown_unqual5] (batchId=65)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[named_column_join] (batchId=75)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[num_op_type_conv] (batchId=74)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[parquet_ppd_decimal] (batchId=9)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[ppd_constant_expr] (batchId=57)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_array] (batchId=64)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_greatest] (batchId=16)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_if] (batchId=13)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_least] (batchId=78)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_map] (batchId=58)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_width_bucket] (batchId=5)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_coalesce] (batchId=10)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_coalesce_2] (batchId=70)
org.apache.hadoop.hive.cli.TestHBaseCliDriver.testCliDriver[hbase_queries] (batchId=97)
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[unionDistinct_1] (batchId=146)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[subquery_null_agg] (batchId=163)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[sysdb] (batchId=156)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_coalesce] (batchId=150)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_coalesce_2] (batchId=163)
org.apache.hadoop.hive.cli.TestNegativeMinimrCliDriver.testCliDriver[ct_noperm_loc] (batchId=94)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_multi] (batchId=111)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[subquery_null_agg] (batchId=134)
org.apache.hadoop.hive.cli.control.TestDanglingQOuts.checkDanglingQOut (batchId=206)
org.apache.hadoop.hive.ql.exec.TestFunctionRegistry.testCommonClass (batchId=282)
org.apache.hadoop.hive.ql.parse.TestReplicationScenarios.testConstraints (batchId=223)
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFGreatest.testGreatestMixed (batchId=258)
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFGreatest.testVoids (batchId=258)
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFLeast.testLeastTypes (batchId=256)
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFLeast.testVoids (batchId=256)
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12895034 - PreCommit-HIVE-Build

> unable to coalesce DATE and TIMESTAMP types
> -------------------------------------------
>
>                 Key: HIVE-15552
>                 URL: https://issues.apache.org/jira/browse/HIVE-15552
>             Project: Hive
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: N Campbell
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Critical
>              Labels: timestamp
>         Attachments: HIVE-15552.01.patch, HIVE-15552.patch
>
>
> COALESCE expression does not expect DATE and TIMESTAMP types 
> select tdt.rnum, coalesce(tdt.cdt, cast(tdt.cdt as timestamp)) from certtext.tdt
> Error: Error while compiling statement: FAILED: SemanticException Line 0:-1 Argument
type mismatch 'cdt': The expressions after COALESCE should all have the same type: "date"
is expected but "timestamp" is found
> SQLState:  42000
> ErrorCode: 40000



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message