Github user amithadke commented on a diff in the pull request:
https://github.com/apache/drill/pull/214#discussion_r43459627
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/easy/EasyFormatPlugin.java
---
@@ -173,7 +173,7 @@ CloseableRecordBatch getReaderBatch(FragmentContext
context, EasySubScan scan) t
}
for(FileWork work : scan.getWorkUnits()){
- readers.add(getRecordReader(context, dfs, work, scan.getColumns()));
+ readers.add(getRecordReader(context, dfs, work, scan.getColumns(),
scan.getUserName()));
--- End diff --
Not every reader needs ugi only ones using hadoop's getRecordReader().
---
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.
---