kokila-19 opened a new pull request, #5922: URL: https://github.com/apache/hive/pull/5922
What changes were proposed in this pull request? If the length of outPathsCommitted array is shorter than the writeroffset, then extend the outPathsCommitted array to the length of writeroffset + 1 Why are the changes needed? The problem is in the FileSinkOperator.createDynamicBucket method: Acid deletes will fail with ArrayIndexOutOfBoundException when closing the writes, because the size of the array is not compared with the writerOffsetbecause and there is a possibility that the outPathsCommitted array is shorter than the updaters array. Does this PR introduce any user-facing change? No How was this patch tested? qtest -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org