VenuReddy2103 opened a new pull request, #3966: URL: https://github.com/apache/hive/pull/3966
### What changes were proposed in this pull request? Oracle db has limitation on number of values passed in the IN operator. It cannot exceed 1000 parameters in IN clause. Instead of IN clause, query is formed with OR clause in alter partitions. A method to get the partition query using OR already exists and is used at other places. Same method is called from alter partitions now. ### Why are the changes needed? Alter partitions during BasicStatsTask.aggregateStats throws exception when the number of partitions are more than 1000 with oracle db. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Ran UT and tested manually with oracle db. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
