dutyu opened a new pull request, #24491:
URL: https://github.com/apache/doris/pull/24491

   
   ## Proposed changes
   
   Relevant pr #23391 #21873
   
   Now `FE` does not record the last update time of hms tbl's partitons, so the 
sql cache may be hit even the hive table's partitions have changed. This pr add 
a field to record the last partition update time, and use it when enable 
sql-cache.
   The cache will be missed if some partitions have changed at hive side.
   
   Use `System.currentTimeMillis()` but not the event time of hms event because 
we would better keep the same measurement with the `lastUpdateTime` of hms 
table. Add this value to `ExternalObjectLog` because it is better to keep the 
same time with all `FE`s, so the sql-cache can be hit by the querys through the 
different `FE`s.
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


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