GitHub user arina-ielchiieva opened a pull request: https://github.com/apache/drill/pull/1183
DRILL-6248: Added limit push down support for system tables 1. PojoRecordReader started returning data in batches instead of returing all in one batch. Default batch size is 4000. 2. SystemTableScan supports limit push down while extrating data in record reader based on given max records to read. 3. Profiles and profiles_json tables apply limit push down while extracting data from store accessing profiles by range. Details in [DRILL-6248](https://issues.apache.org/jira/browse/DRILL-6248). You can merge this pull request into a Git repository by running: $ git pull https://github.com/arina-ielchiieva/drill DRILL-6248 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/drill/pull/1183.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1183 ---- commit 1ae04bea3aa4a153572e230f0a456a4f4602e98c Author: Arina Ielchiieva <arina.yelchiyeva@...> Date: 2018-03-20T18:26:42Z DRILL-6248: Added limit push down support for system tables 1. PojoRecordReader started returning data in batches instead of returing all in one batch. Default batch size is 4000. 2. SystemTableScan supports limit push down while extrating data in record reader based on given max records to read. 3. Profiles and profiles_json tables apply limit push down while extracting data from store accessing profiles by range. ---- ---