Github user gparai commented on a diff in the pull request:
https://github.com/apache/drill/pull/1204#discussion_r180538860
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillPushLimitToScanRule.java
---
@@ -74,9 +74,12 @@ public boolean matches(RelOptRuleCall call) {
// mess up the schema since Convert_FromJson() is different from
other regular functions in that it only knows
// the output schema after evaluation is performed. When input has 0
row, Drill essentially does not have a way
// to know the output type.
+ // DRILL-6318:
--- End diff --
Please remove JIRA ref here and below - others can get it via annotations.
---