Github user sudheeshkatkam commented on the pull request: https://github.com/apache/drill/pull/214#issuecomment-151680840 @amithadke I added a unit test to this [branch](https://github.com/sudheeshkatkam/drill/commits/local-sequence-files) that fails. Note that user0:group0 creates a view with permission 750 on top of a file with permission 700, so user1:group0 should be able to query the view. The change in ScanBatch is to make sure all readers are initialized during fragment execution, and not setup time. Ideally the test case should ensure that at least two readers are created within one fragment.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---