zhaorongsheng opened a new issue, #67724:
URL: https://github.com/apache/doris/issues/67724

   ## Problem
   
   For highly partitioned Hive tables, FE planning may enumerate every HMS 
partition name before applying selective partition predicates. This makes 
planning latency depend on a full metastore listing and can cause timeouts.
   
   ## Proposal
   
   Materialize safe equality and IN partition predicates through HMS 
`get_partitions_by_filter` before the generic selected-partition map is built. 
Keep the existing local full-list pruning path as a compatibility fallback when 
the HMS filter API or dialect is unavailable.
   
   ## Expected benefit
   
   Selective partition queries avoid the full partition-name enumeration on the 
planner path when HMS supports the filter API.


-- 
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]

Reply via email to