You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2016/09/27 13:55:20 UTC

[jira] [Commented] (HIVE-14843) HIVE-14751 introduced ambiguity in grammar

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

Hive QA commented on HIVE-14843:
--------------------------------



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

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

{color:red}ERROR:{color} -1 due to 19 failed/errored test(s), 10640 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[acid_mapjoin]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[cbo_const]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[ctas]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[interval_1]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[interval_2]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[interval_3]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[interval_arithmetic]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[interval_comparison]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[interval_udf]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_interval_1]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_interval_2]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_interval_arithmetic]
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_join_part_col_char]
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[vector_interval_1]
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[vector_interval_2]
org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[vector_interval_arithmetic]
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_3]
org.apache.hadoop.hive.metastore.TestMetaStoreMetrics.testMetaDataCounts
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testAddJarConstructorUnCaching
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1313/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1313/console
Test logs: http://ec2-204-236-174-241.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-Build-1313/

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

This message is automatically generated.

ATTACHMENT ID: 12830460 - PreCommit-HIVE-Build

> HIVE-14751 introduced ambiguity in grammar
> ------------------------------------------
>
>                 Key: HIVE-14843
>                 URL: https://issues.apache.org/jira/browse/HIVE-14843
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 2.2.0
>            Reporter: Pengcheng Xiong
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-14843.patch
>
>
> As reported by [~ekoifman] and tested by myself, your patch introduced ambiguity into the grammar.
> {code}
> warning(200): IdentifiersParser.g:327:5:
> Decision can match input such as "KW_DAY KW_TO KW_SECOND" using multiple alternatives: 2, 5
> As a result, alternative(s) 5 were disabled for that input
> warning(200): IdentifiersParser.g:327:5:
> Decision can match input such as "KW_YEAR KW_TO KW_MONTH" using multiple alternatives: 1, 3
> As a result, alternative(s) 3 were disabled for that input
> {code} 
> Could you please take another look? Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)