This is an automated email from the ASF dual-hosted git repository.

yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/main by this push:
     new 0c3c0051e2 remove deprecated warning log, ao/aocs has support 
DynamicIndexOnlyScan
0c3c0051e2 is described below

commit 0c3c0051e228429e6a6a82a5c49f498936be27a3
Author: GongXun <[email protected]>
AuthorDate: Thu Mar 13 21:45:28 2025 +0800

    remove deprecated warning log, ao/aocs has support DynamicIndexOnlyScan
    
    after commit 
https://github.com/apache/cloudberry/commit/7ba8e156755740e374be61cc8387308650b5f9c7.
    Orca add a new physical operator CPhysicalDynamicIndexOnlyScan. Update 
optimizer to generate
    a plan alternative with new operator when a dynamic index covers the output 
columns.
---
 src/backend/access/appendonly/appendonlyam.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/backend/access/appendonly/appendonlyam.c 
b/src/backend/access/appendonly/appendonlyam.c
index 1ea6bcdaca..d213a23fc9 100755
--- a/src/backend/access/appendonly/appendonlyam.c
+++ b/src/backend/access/appendonly/appendonlyam.c
@@ -2428,18 +2428,6 @@ appendonly_fetch(AppendOnlyFetchDesc aoFetchDesc,
        if (aoFetchDesc->currentSegmentFile.isOpen &&
                segmentFileNum != aoFetchDesc->currentSegmentFile.num)
        {
-#ifdef USE_ASSERT_CHECKING
-               /*
-                * Currently, we only support Index Scan on bitmap index and 
Bitmap Index Scan
-                * on AO tables, so normally the below warning should not 
happen.
-                * See get_index_paths in indxpath.c.
-                */
-               if (segmentFileNum < aoFetchDesc->currentSegmentFile.num)
-                       ereport(WARNING,
-                                       (errmsg("append-only fetch requires 
scan prior segment file: segmentFileNum %d, rowNum " INT64_FORMAT ", 
currentSegmentFileNum %d",
-                                                       segmentFileNum, rowNum,
-                                                       
aoFetchDesc->currentSegmentFile.num)));
-#endif
                closeFetchSegmentFile(aoFetchDesc);
 
                Assert(!aoFetchDesc->currentSegmentFile.isOpen);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to