[ https://issues.apache.org/jira/browse/HIVE-21278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769999#comment-16769999 ]
Hive QA commented on HIVE-21278: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12958942/HIVE-21278.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 12 failed/errored test(s), 15797 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[check_constraint_aggregate] (batchId=100) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[check_constraint_max_length] (batchId=100) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[check_constraint_nonboolean_expr] (batchId=99) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[check_constraint_qual_name] (batchId=101) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[check_constraint_subquery] (batchId=99) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[check_constraint_tbl_level] (batchId=100) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[check_constraint_temporary_udf] (batchId=100) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[check_constraint_udtf] (batchId=99) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[check_constraint_violation] (batchId=99) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[check_constraint_window_fun] (batchId=99) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[create_external_with_check_constraint] (batchId=99) org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[subquery_subquery_chain] (batchId=99) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16106/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16106/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16106/ 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: 12 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12958942 - PreCommit-HIVE-Build > Fix ambiguity in grammar warnings at compilation time > ----------------------------------------------------- > > Key: HIVE-21278 > URL: https://issues.apache.org/jira/browse/HIVE-21278 > Project: Hive > Issue Type: Bug > Components: Parser > Reporter: Jesus Camacho Rodriguez > Assignee: Jesus Camacho Rodriguez > Priority: Major > Attachments: HIVE-21278.patch > > > These are the warnings at compilation time: > {code} > warning(200): org/apache/hadoop/hive/ql/parse/HiveParser.g:2439:5: > Decision can match input such as "KW_CHECK KW_DATETIME" using multiple > alternatives: 1, 2 > As a result, alternative(s) 2 were disabled for that input > warning(200): org/apache/hadoop/hive/ql/parse/HiveParser.g:2439:5: > Decision can match input such as "KW_CHECK KW_DATE {LPAREN, StringLiteral}" > using multiple alternatives: 1, 2 > As a result, alternative(s) 2 were disabled for that input > warning(200): org/apache/hadoop/hive/ql/parse/HiveParser.g:2439:5: > Decision can match input such as "KW_CHECK KW_UNIONTYPE LESSTHAN" using > multiple alternatives: 1, 2 > As a result, alternative(s) 2 were disabled for that input > warning(200): org/apache/hadoop/hive/ql/parse/HiveParser.g:2439:5: > Decision can match input such as "KW_CHECK {KW_EXISTS, KW_TINYINT}" using > multiple alternatives: 1, 2 > As a result, alternative(s) 2 were disabled for that input > warning(200): org/apache/hadoop/hive/ql/parse/HiveParser.g:2439:5: > Decision can match input such as "KW_CHECK KW_STRUCT LESSTHAN" using multiple > alternatives: 1, 2 > As a result, alternative(s) 2 were disabled for that input > warning(200): IdentifiersParser.g:424:5: > Decision can match input such as "KW_UNKNOWN" using multiple alternatives: 1, > 10 > As a result, alternative(s) 10 were disabled for that input > {code} > This means that multiple parser rules can match certain query text, possibly > leading to unexpected errors at parsing time. -- This message was sent by Atlassian JIRA (v7.6.3#76005)