freemandealer commented on code in PR #34615:
URL: https://github.com/apache/doris/pull/34615#discussion_r1601093527
##########
fe/fe-core/src/main/java/org/apache/doris/qe/cache/CacheAnalyzer.java:
##########
@@ -697,15 +700,29 @@ private CacheTable
buildCacheTableForOlapScanNode(OlapScanNode node) {
CatalogIf catalog = database.getCatalog();
ScanTable scanTable = new ScanTable(
new FullTableName(catalog.getName(), database.getFullName(),
olapTable.getName()),
- olapTable.getVisibleVersionTime(),
olapTable.getVisibleVersion());
+ olapTable.getVisibleVersion());
scanTables.add(scanTable);
+ if (Config.isCloudMode()) {
+ // get version of related partitions in batch
Review Comment:
Ops! On second thought, I think can give it a try.
--
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]