Github user jacques-n commented on a diff in the pull request:

    https://github.com/apache/drill/pull/232#discussion_r43765441
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/store/easy/text/compliant/CompliantTextRecordReader.java
 ---
    @@ -71,15 +79,14 @@ public CompliantTextRecordReader(FileSplit split, 
DrillFileSystem dfs, FragmentC
       // checks to see if we are querying all columns(star) or individual 
columns
       @Override
       public boolean isStarQuery() {
    -    if(settings.isUseRepeatedVarChar()) {
    -      return super.isStarQuery() || Iterables.tryFind(getColumns(), new 
Predicate<SchemaPath>() {
    -        @Override
    -        public boolean apply(@Nullable SchemaPath path) {
    -          return path.equals(RepeatedVarCharOutput.COLUMNS);
    -        }
    -      }).isPresent();
    -    }
    -    return super.isStarQuery();
    +    if (super.isStarQuery()) { return true; }
    --- End diff --
    
    If we're in header extraction mode, requesting the columns column shouldn't 
mean a request for star query. Only a * should.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to