Ted Dunning created DRILL-18: -------------------------------- Summary: Parser has some breakage Key: DRILL-18 URL: https://issues.apache.org/jira/browse/DRILL-18 Project: Apache Drill Issue Type: Bug Reporter: Ted Dunning
Hi, I wrote some codes for query parser. These diffs are aimed to pass test case of query parser, especially org.apache.drill.parsers.DrqlParserTest. To do that, I modified the DrqlAntlr.g and AntlrParser.java. - Add some rules (N_AGGREGATE_FUNCTION, aggregateFunc, ... ) - Swap groupbyClause rule and havingCaluse rule in selectStatement - Modify some parsing routine in AntlrParser.java I think that the defined grammar still has some problems even if this diff is applied. Also, it is not important thing. However, you can pass test case ;) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira