zzzzming95 commented on pull request #2947: URL: https://github.com/apache/hive/pull/2947#issuecomment-1073862137
> With this change I think the filtering on the HMS DB side is effectively turned off. This would cause queries with smaller number of partitions become slow. Is this issue happening when there are too many partitions in the filter? Could we just turn off this filter if the number of partitions are too high? What is the number of partitions in the query when you had experienced problems? thanks @pvary . in our case , We have a table (two partition fields) with about 60w partitions. When multiple sql jobs are executed at the same time, the HMS DB load will increase. > Could we just turn off this filter if the number of partitions are too high? According to my understanding, there should be no way for us to get the number of partitions before sql execution. Do you mean to cache the partitions number information in HMS to optimize ? -- 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]
