Github user sohami commented on the issue: https://github.com/apache/drill/pull/919 Rebased on latest master and squashed the initial 3 commits. But I have kept the commit to resolve conflict separate as there are some changes made w.r.t DRILL-3449 behavior, and added some new unit tests.
---