[ https://issues.apache.org/jira/browse/HIVE-20226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16556374#comment-16556374 ]
Hive QA commented on HIVE-20226: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12933079/HIVE-20226.2.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 14812 tests executed *Failed tests:* {noformat} org.apache.hive.hcatalog.api.TestHCatClient.testBasicDDLCommands (batchId=202) org.apache.hive.hcatalog.api.TestHCatClient.testDatabaseLocation (batchId=202) org.apache.hive.hcatalog.api.TestHCatClient.testDropPartitionsWithPartialSpec (batchId=202) org.apache.hive.hcatalog.api.TestHCatClient.testGetPartitionsWithPartialSpec (batchId=202) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/12860/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/12860/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-12860/ 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: 4 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12933079 - PreCommit-HIVE-Build > HMS getNextNotification will throw exception when request maxEvents exceed > table's max_rows > ------------------------------------------------------------------------------------------- > > Key: HIVE-20226 > URL: https://issues.apache.org/jira/browse/HIVE-20226 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 3.0.0, 4.0.0 > Reporter: Alice Fan > Assignee: Alice Fan > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-20226.1.patch, HIVE-20226.2.patch > > > When Sentry call getNextNotification(), its request max_events will always be > Integer.MAX_VALUE. > query.setRange(0, maxEvents) of ObjectStore will throw exception when > maxEvents exceed table's max_rows. > Ex: assumed max_rows = 50,000,000 in a mysql table > java.sql.SQLException: setMaxRows() out of range. 2147483647 > 50000000. -- This message was sent by Atlassian JIRA (v7.6.3#76005)