drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject drill git commit: DRILL-4339: Reverse the function signature change made to AbstractRecordReader.setColumns() in DRILL-4279.
Date Wed, 03 Feb 2016 01:25:36 GMT
Repository: drill
Updated Branches:
  refs/heads/master 1b96174b1 -> 6a36a704b


DRILL-4339:  Reverse the function signature change made to AbstractRecordReader.setColumns()
in DRILL-4279.


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/6a36a704
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/6a36a704
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/6a36a704

Branch: refs/heads/master
Commit: 6a36a704bc139aa05deb3919e792f21b3fcd7794
Parents: 1b96174
Author: Jinfeng Ni <jni@apache.org>
Authored: Tue Feb 2 13:13:39 2016 -0800
Committer: Jinfeng Ni <jni@apache.org>
Committed: Tue Feb 2 13:13:39 2016 -0800

----------------------------------------------------------------------
 .../java/org/apache/drill/exec/store/AbstractRecordReader.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/6a36a704/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractRecordReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractRecordReader.java
b/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractRecordReader.java
index ca44d30..b25eae1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractRecordReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractRecordReader.java
@@ -54,10 +54,10 @@ public abstract class AbstractRecordReader implements RecordReader {
         + ", isSkipQuery = " + isSkipQuery + "]";
   }
 
-  protected final void setColumns(List<SchemaPath> projected) {
+  protected final void setColumns(Collection<SchemaPath> projected) {
     Preconditions.checkNotNull(projected, COL_NULL_ERROR);
     isSkipQuery = projected.isEmpty();
-    List<SchemaPath> columnsToRead = projected;
+    Collection<SchemaPath> columnsToRead = projected;
 
     // If no column is required (SkipQuery), by default it will use DEFAULT_COLS_TO_READ
.
     // Handling SkipQuery is storage-plugin specif : JSON, text reader, parquet will override,
in order to


Mime
View raw message