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

mblow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git

commit c324495e255e9de9c02363a3405dd60063a8f916
Author: Ritik Raj <[email protected]>
AuthorDate: Tue Jul 1 01:17:25 2025 +0530

    [ASTERIXDB-3601][STO] Removing warn log
    
    - user model changes: no
    - storage format changes: no
    - interface changes: no
    
    Details:
    In ColumnRanges, there can be case
    where columnOffset is zero, if the columns
    are present in the pageZerosegment which is
    not being projected.
    
    Ext-ref: MB-66306
    Change-Id: Iee50eb4d305fa6d2bab0cbc33f3b859e4f316605
    Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20008
    Integration-Tests: Jenkins <[email protected]>
    Reviewed-by: Peeyush Gupta <[email protected]>
    Tested-by: Jenkins <[email protected]>
---
 .../hyracks/storage/am/lsm/btree/column/cloud/ColumnRanges.java    | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-btree-column/src/main/java/org/apache/hyracks/storage/am/lsm/btree/column/cloud/ColumnRanges.java
 
b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-btree-column/src/main/java/org/apache/hyracks/storage/am/lsm/btree/column/cloud/ColumnRanges.java
index de2d1e8793..6cf43bfd27 100644
--- 
a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-btree-column/src/main/java/org/apache/hyracks/storage/am/lsm/btree/column/cloud/ColumnRanges.java
+++ 
b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-btree-column/src/main/java/org/apache/hyracks/storage/am/lsm/btree/column/cloud/ColumnRanges.java
@@ -126,10 +126,9 @@ public final class ColumnRanges {
 
         int columnOrdinal = 0;
         for (int i = 0; i < numberOfColumns; i++) {
-            if (offsetColumnIndexPairs[i] == 0) { // any column's offset can't 
be zero
-                LOGGER.warn(
-                        "Unexpected zero column offset at index {}. This may 
indicate a logic error or data inconsistency.",
-                        i);
+            if (offsetColumnIndexPairs[i] == 0) {
+                //Any requested column's offset can't be zero
+                //In case a column is not being present in the accessed 
pageZero segments, it will be defaulted to 0
                 continue;
             }
             int columnIndex = 
getColumnIndexFromPair(offsetColumnIndexPairs[i]);

Reply via email to