luocooong opened a new pull request, #2580: URL: https://github.com/apache/drill/pull/2580
# [DRILL-8253](https://issues.apache.org/jira/browse/DRILL-8253): Support the limit results in kafka scan ## Description In the current implementation of the kafka storage, although we use the limit detection method in the result loader, but the actual `maxRecords` is always -1. The mechanism for this revision is to get limit (SQL parsing from the execution plan stage) from the group scan, then pass it to the sub-scan, and finally process it in the result loader. ## Documentation N/A ## Testing Added the unit test. KafkaQueriesTest#testResultLimit() -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org