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

Hive QA commented on HIVE-21540:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12964344/HIVE-21540.01.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), 15869 tests 
executed
*Failed tests:*
{noformat}
TestMiniLlapCliDriver - did not produce a TEST-*.xml file (likely timed out) 
(batchId=155)
        
[intersect_all.q,unionDistinct_1.q,table_nonprintable.q,orc_llap_counters1.q,mm_cttas.q,whroot_external1.q,global_limit.q,cte_2.q,rcfile_createas1.q,dynamic_partition_pruning_2.q,intersect_merge.q,results_cache_diff_fs.q,cttl.q,parallel_colstats.q,load_hdfs_file_with_space_in_the_name.q]
{noformat}

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

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: 12964344 - PreCommit-HIVE-Build

> Query with join condition having date literal throws SemanticException.
> -----------------------------------------------------------------------
>
>                 Key: HIVE-21540
>                 URL: https://issues.apache.org/jira/browse/HIVE-21540
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Planning
>    Affects Versions: 3.1.0, 4.0.0, 3.1.1
>            Reporter: Sankar Hariappan
>            Assignee: Sankar Hariappan
>            Priority: Major
>              Labels: Analyzer, DateField, pull-request-available
>         Attachments: HIVE-21540.01.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This semantic exception is thrown for the following query. 
> *SemanticException '2019-03-20' encountered with 0 children*
> {code}
> create table date_1 (key int, dd date);
> create table date_2 (key int, dd date);
> select d1.key, d2.dd from(
>   select key, dd as start_dd, current_date as end_dd from date_1) d1
>   join date_2 as d2 on d1.key = d2.key where d2.dd between start_dd and 
> end_dd;
> {code}
> When the WHERE condition below is commented out, the query completes 
> successfully.
> where d2.dd between start_dd and end_dd
> ------------------------------------------------



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

Reply via email to