Skip to content

Commit

Permalink
DRILL-4339: Reverse the function signature change made to AbstractRec…
Browse files Browse the repository at this point in the history
…ordReader.setColumns() in DRILL-4279.
  • Loading branch information
jinfengni committed Feb 2, 2016
1 parent 1b96174 commit 6a36a70
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -54,10 +54,10 @@ public String toString() {
+ ", isSkipQuery = " + isSkipQuery + "]"; + ", isSkipQuery = " + isSkipQuery + "]";
} }


protected final void setColumns(List<SchemaPath> projected) { protected final void setColumns(Collection<SchemaPath> projected) {
Preconditions.checkNotNull(projected, COL_NULL_ERROR); Preconditions.checkNotNull(projected, COL_NULL_ERROR);
isSkipQuery = projected.isEmpty(); 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 . // 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 // Handling SkipQuery is storage-plugin specif : JSON, text reader, parquet will override, in order to
Expand Down

0 comments on commit 6a36a70

Please sign in to comment.