gongxun0928 commented on code in PR #1397:
URL: https://github.com/apache/cloudberry/pull/1397#discussion_r2485171793


##########
contrib/pax_storage/src/cpp/access/pax_access_handle.cc:
##########
@@ -411,6 +416,107 @@ void CCPaxAccessMethod::FinishBulkInsert(Relation 
relation, int options) {
   CBDB_END_TRY();
 }
 
+void CCPaxAccessMethod::RelationVacuum(Relation rel, VacuumParams *params,
+                                       BufferAccessStrategy /*bstrategy*/) {
+  CBDB_TRY();
+  {
+    std::vector<int> minmax_cols = cbdb::GetMinMaxColumnIndexes(rel);
+    std::vector<int> bf_cols = cbdb::GetBloomFilterColumnIndexes(rel);
+
+    if (minmax_cols.empty() && bf_cols.empty()) {
+      return;
+    }
+
+    Oid aux_oid = cbdb::GetPaxAuxRelid(RelationGetRelid(rel));
+    Relation aux_rel = cbdb::TableOpen(aux_oid, RowExclusiveLock);

Review Comment:
   done



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