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

dongjoon pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.7 by this push:
     new ee5b8c3  ORC-983: Revise filter processing log level/location/message 
(#896)
ee5b8c3 is described below

commit ee5b8c3838985c53762d96fbf20e3a65dc9bc111
Author: Pavan Lanka <[email protected]>
AuthorDate: Fri Sep 3 23:40:28 2021 -0700

    ORC-983: Revise filter processing log level/location/message (#896)
    
    ### What changes were proposed in this pull request?
    
    Couple of the log statements related to filter processing have been lowered 
from INFO to DEBUG level.
    
    ### Why are the changes needed?
    
    Make the logging less verbose.
    
    ### How was this patch tested?
    
    Regression testing as there is no functional change in the patch other than 
the log level.
    
    (cherry picked from commit 7cfa787f60487dd7dcc45f0eeaea63b5f56f0360)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java 
b/java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java
index dca81ad..8a9703e 100644
--- a/java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java
+++ b/java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java
@@ -211,7 +211,7 @@ public class RecordReaderImpl implements RecordReader {
     }
 
     this.noSelectedVector = !options.useSelected();
-    LOG.info("noSelectedVector={}", this.noSelectedVector);
+    LOG.debug("noSelectedVector={}", this.noSelectedVector);
     this.schema = evolution.getReaderSchema();
     this.path = fileReader.path;
     this.rowIndexStride = fileReader.rowIndexStride;
@@ -312,8 +312,8 @@ public class RecordReaderImpl implements RecordReader {
           expandCol = expandCol.getParent();
         }
       }
-      LOG.info("Filter Columns: " + filterColIds);
       this.startReadPhase = TypeReader.ReadPhase.LEADERS;
+      LOG.debug("Using startReadPhase: {} with filter columns: {}", 
startReadPhase, filterColIds);
     } else {
       this.startReadPhase = TypeReader.ReadPhase.ALL;
     }

Reply via email to